protected void installDefaults(){
  LookAndFeel.installColorsAndFont(comboBox,"ComboBox.background","ComboBox.foreground","ComboBox.font");
  LookAndFeel.installBorder(comboBox,"ComboBox.border");
  LookAndFeel.installProperty(comboBox,"opaque",Boolean.TRUE);
  Long l=(Long)UIManager.get("ComboBox.timeFactor");
  timeFactor=l == null ? 1000L : l.longValue();
  Boolean b=(Boolean)UIManager.get("ComboBox.squareButton");
  squareButton=b == null ? true : b;
  padding=UIManager.getInsets("ComboBox.padding");
}

protected void installDefaults ( ) { LookAndFeel . installColorsAndFont ( comboBox , "ComboBox.background" , "ComboBox.foreground" , "ComboBox.font" ) ; LookAndFeel . installBorder ( comboBox , "ComboBox.border" ) ; LookAndFeel . installProperty ( comboBox , "opaque" , Boolean . TRUE ) ; Long l = ( Long ) UIManager . get ( "ComboBox.timeFactor" ) ; timeFactor = l == null ? 1000L : l . longValue ( ) ; Boolean b = ( Boolean ) UIManager . get ( "ComboBox.squareButton" ) ; squareButton = b == null ? true : b ; padding = UIManager . getInsets ( "ComboBox.padding" ) ; }
installs the default colors , default font , default renderer , and default editor into the jcombobox .
