/[classpath]/classpath/javax/swing/plaf/basic/BasicComboBoxUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicComboBoxUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by rabbit78, Thu Nov 10 15:58:35 2005 UTC revision 1.29 by rabbit78, Tue Nov 15 20:32:46 2005 UTC
# Line 805  public class BasicComboBoxUI extends Com Line 805  public class BasicComboBoxUI extends Com
805                  isPressed, hasFocus);                  isPressed, hasFocus);
806          if (! comboBox.isEnabled())          if (! comboBox.isEnabled())
807            {            {
808              comp.setBackground(UIManager.getLookAndFeelDefaults().getColor(              comp.setBackground(UIManager.getColor(
809                  "ComboBox.disabledBackground"));                                                 "ComboBox.disabledBackground"));
810              comp.setForeground(UIManager.getLookAndFeelDefaults().getColor(              comp.setForeground(UIManager.getColor(
811                  "ComboBox.disabledForeground"));                                                 "ComboBox.disabledForeground"));
812              comp.setEnabled(false);              comp.setEnabled(false);
813            }            }
814          comp.setBounds(0, 0, bounds.width, bounds.height);          comp.setBounds(0, 0, bounds.width, bounds.height);

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26