> You can change the foreground text color of a non editable Jcombo box
> with:-
[quoted text clipped - 13 lines]
>
> PS I've been trying with JDK 1.4.2
jCombo = new JComboBox();
jCombo.setEditable(true);
ComboBoxEditor editor = jCombo.getEditor();
if (editor != null) {
Component editorComp = editor.getEditorComponent();
if (editorComp instanceof JComponent) {
JComponent editorJComp = (JComponent) editorComp;
editorJComp.setForeground(Color.red);
}
}

Signature
Regards,
Roland de Ruiter
___ ___
/__/ w_/ /__/
/ \ /_/ / \
reinman - 12 Feb 2005 17:19 GMT
> > You can change the foreground text color of a non editable Jcombo box
> > with:-
[quoted text clipped - 32 lines]
> /__/ w_/ /__/
> / \ /_/ / \
Thanks a Lot. Youre early response is much appreciated,
Regards
Rein Laul