--- old/src/share/classes/javax/swing/plaf/metal/MetalComboBoxButton.java 2014-07-02 23:01:11.000000000 -0700 +++ new/src/share/classes/javax/swing/plaf/metal/MetalComboBoxButton.java 2014-07-02 23:01:11.000000000 -0700 @@ -54,12 +54,12 @@ /** * The instance of {@code JComboBox}. */ - protected JComboBox comboBox; + protected JComboBox comboBox; /** * The instance of {@code JList}. */ - protected JList listBox; + protected JList listBox; /** * The instance of {@code CellRendererPane}. @@ -81,14 +81,14 @@ * * @return the {@code JComboBox} */ - public final JComboBox getComboBox() { return comboBox;} + public final JComboBox getComboBox() { return comboBox;} /** * Sets the {@code JComboBox}. * * @param cb the {@code JComboBox} */ - public final void setComboBox( JComboBox cb ) { comboBox = cb;} + public final void setComboBox( JComboBox cb ) { comboBox = cb;} /** * Returns the icon of the {@code JComboBox}. @@ -136,8 +136,8 @@ * @param pane an instance of {@code CellRendererPane} * @param list an instance of {@code JList} */ - public MetalComboBoxButton( JComboBox cb, Icon i, - CellRendererPane pane, JList list ) { + public MetalComboBoxButton( JComboBox cb, Icon i, + CellRendererPane pane, JList list ) { this(); comboBox = cb; comboIcon = i; @@ -155,8 +155,8 @@ * @param pane an instance of {@code CellRendererPane} * @param list an instance of {@code JList} */ - public MetalComboBoxButton( JComboBox cb, Icon i, boolean onlyIcon, - CellRendererPane pane, JList list ) { + public MetalComboBoxButton( JComboBox cb, Icon i, boolean onlyIcon, + CellRendererPane pane, JList list ) { this( cb, i, pane, list ); iconOnly = onlyIcon; } @@ -238,7 +238,7 @@ // Let the renderer paint if ( ! iconOnly && comboBox != null ) { - ListCellRenderer renderer = comboBox.getRenderer(); + ListCellRenderer renderer = comboBox.getRenderer(); Component c; boolean renderPressed = getModel().isPressed(); c = renderer.getListCellRendererComponent(listBox,