[ 1735122 ] Mandatory fields with AutoCompletion have incorrect color
http://sourceforge.net/tracker/index.php?func=detail&aid=1735122&group_id=176962&atid=879332
This commit is contained in:
parent
80ab81b48c
commit
4dc41bde4e
|
@ -244,6 +244,9 @@ public class CComboBox extends JComboBox
|
|||
{
|
||||
if (bg.equals(getBackground()))
|
||||
return;
|
||||
// Set same color for editor component - teo_sarca [ 1735122 ]
|
||||
if (getEditor() != null && getEditor().getEditorComponent() != null)
|
||||
getEditor().getEditorComponent().setBackground(bg);
|
||||
super.setBackground(bg);
|
||||
} // setBackground
|
||||
|
||||
|
|
Loading…
Reference in New Issue