Am Donnerstag, den 08.03.2007, 10:48 +0100 schrieb
[EMAIL PROTECTED]:
> Hi,
>
> I'm trying to disable a combobox and to change the text
> forground,
> but without success!
>
> e.g.
> ((ULCComboBox) inComponent).setEnabled(false);
> ((ULCComboBox) inComponent).setForground(Color.black);
>
> Is there a solution to disable the combobox, but without the grey
> text display ?
>
> Mit freundlichen Grüßen/ Best Regards/Sincères Salutations
>
> Ralph Weyers
> DACHSER GmbH&Co.KG
> HN Kempten/IT-Zentrale
> Softwareentwicklung
>
Hi Ralph,
you need to put something like:
UIManager.put("ComboBox.disabledForeground", Color.black);
in the client-extensions of your application. That Should do the trick.
--
Mit freundlichen Grüßen/Kind Regards,
Christoph Brill
Telefon 0261/50086-18
Telefax 0261/50086-29
E-Mail: [EMAIL PROTECTED]
http://www.huebinet.de
HUEBINET Informationsmanagement GmbH & Co. KG
Maria Trost 23
56070 Koblenz
Sitz und Registergericht: Koblenz HRA 5329
Persönlich haftender Gesellschafter der KG: HUEBINET GmbH
Sitz und Registergericht: Koblenz HRB 6857
Geschäftsführung: Frank Hüttmann; Michael Biemer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer