Index: javax/swing/plaf/metal/MetalBorders.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalBorders.java,v retrieving revision 1.25 diff -u -r1.25 MetalBorders.java --- javax/swing/plaf/metal/MetalBorders.java 4 Oct 2005 15:50:05 -0000 1.25 +++ javax/swing/plaf/metal/MetalBorders.java 19 Oct 2005 13:43:20 -0000 @@ -106,9 +106,7 @@ /** * The border that is drawn around Swing buttons. */ - public static class ButtonBorder - extends AbstractBorder - implements UIResource + public static class ButtonBorder extends AbstractBorder implements UIResource { /** The borders insets. */ protected static Insets borderInsets = new Insets(3, 3, 3, 3); @@ -118,6 +116,7 @@ */ public ButtonBorder() { + // Nothing to do here. } /** @@ -231,6 +230,7 @@ */ public DesktopIconBorder() { + // Nothing to do here. } /** @@ -295,6 +295,7 @@ */ public Flush3DBorder() { + // Nothing to do here. } /** @@ -361,8 +362,7 @@ * * @since 1.3 */ - public static class PaletteBorder - extends AbstractBorder + public static class PaletteBorder extends AbstractBorder implements UIResource { /** @@ -370,6 +370,7 @@ */ public PaletteBorder() { + // Nothing to do here. } /** @@ -448,6 +449,7 @@ */ public TextFieldBorder() { + // Nothing to do here. } /** @@ -496,6 +498,7 @@ */ public InternalFrameBorder() { + // Nothing to do here. } /** @@ -596,6 +599,7 @@ */ public OptionDialogBorder() { + // Nothing to do here. } /** @@ -705,6 +709,7 @@ */ public MenuItemBorder() { + // Nothing to do here. } /** @@ -804,6 +809,7 @@ */ public MenuBarBorder() { + // Nothing to do here. } /** @@ -871,6 +877,7 @@ */ public ScrollPaneBorder() { + // Nothing to do here. } /** @@ -944,6 +951,7 @@ */ public RolloverButtonBorder() { + // Nothing to do here. } /** @@ -983,6 +991,7 @@ */ public RolloverMarginBorder() { + // Nothing to do here. } /** @@ -1037,6 +1046,7 @@ */ public PopupMenuBorder() { + // Nothing to do here. } /** @@ -1118,6 +1128,7 @@ */ public ToggleButtonBorder() { + // Nothing to do here. } /** @@ -1208,6 +1219,7 @@ */ public ToolBarBorder() { + // Nothing to do here. } /** Index: javax/swing/plaf/metal/MetalButtonListener.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalButtonListener.java,v retrieving revision 1.2 diff -u -r1.2 MetalButtonListener.java --- javax/swing/plaf/metal/MetalButtonListener.java 28 Sep 2005 14:38:33 -0000 1.2 +++ javax/swing/plaf/metal/MetalButtonListener.java 19 Oct 2005 13:43:20 -0000 @@ -47,7 +47,7 @@ /** * A listener for buttons under the address@hidden MetalLookAndFeel}. * - * @see MetalButtonUI#createButtonListener() + * @see MetalButtonUI#createButtonListener */ class MetalButtonListener extends BasicButtonListener { Index: javax/swing/plaf/metal/MetalComboBoxEditor.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalComboBoxEditor.java,v retrieving revision 1.2 diff -u -r1.2 MetalComboBoxEditor.java --- javax/swing/plaf/metal/MetalComboBoxEditor.java 16 Sep 2005 13:55:34 -0000 1.2 +++ javax/swing/plaf/metal/MetalComboBoxEditor.java 19 Oct 2005 13:43:20 -0000 @@ -51,8 +51,7 @@ /** * An editor used by the address@hidden MetalComboBoxUI} class. */ -public class MetalComboBoxEditor - extends BasicComboBoxEditor +public class MetalComboBoxEditor extends BasicComboBoxEditor { /** * A border used for the address@hidden JTextField} component. @@ -64,6 +63,7 @@ */ public MetalComboBoxEditorBorder() { + // Nothing to do here. } /** @@ -116,8 +116,7 @@ * A subclass of address@hidden MetalComboBoxEditor} that implements the * address@hidden javax.swing.plaf.UIResource} interface. */ - public static class UIResource - extends MetalComboBoxEditor + public static class UIResource extends MetalComboBoxEditor implements javax.swing.plaf.UIResource { /** @@ -125,6 +124,7 @@ */ public UIResource() { + // Nothing to do here. } } Index: javax/swing/plaf/metal/MetalComboBoxUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalComboBoxUI.java,v retrieving revision 1.5 diff -u -r1.5 MetalComboBoxUI.java --- javax/swing/plaf/metal/MetalComboBoxUI.java 18 Oct 2005 14:11:26 -0000 1.5 +++ javax/swing/plaf/metal/MetalComboBoxUI.java 19 Oct 2005 13:43:20 -0000 @@ -61,8 +61,7 @@ /** * A UI delegate for the address@hidden JComboBox} component. */ -public class MetalComboBoxUI - extends BasicComboBoxUI +public class MetalComboBoxUI extends BasicComboBoxUI { /** * A layout manager that arranges the editor component (if active) and the @@ -75,7 +74,8 @@ * Creates a new instance of the layout manager. */ public MetalComboBoxLayoutManager() - { + { + // Nothing to do here. } /** @@ -121,6 +121,7 @@ */ public MetalPropertyChangeListener() { + // Nothing to do here. } /** Index: javax/swing/plaf/metal/MetalFileChooserUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,v retrieving revision 1.2 diff -u -r1.2 MetalFileChooserUI.java --- javax/swing/plaf/metal/MetalFileChooserUI.java 13 Oct 2005 12:58:53 -0000 1.2 +++ javax/swing/plaf/metal/MetalFileChooserUI.java 19 Oct 2005 13:43:21 -0000 @@ -64,15 +64,13 @@ * A UI delegate for the address@hidden JFileChooser} component. This class is only * partially implemented and is not usable yet. */ -public class MetalFileChooserUI - extends BasicFileChooserUI +public class MetalFileChooserUI extends BasicFileChooserUI { /** * A combo box model containing the selected directory and all its parent * directories. */ - protected class DirectoryComboBoxModel - extends AbstractListModel + protected class DirectoryComboBoxModel extends AbstractListModel implements ComboBoxModel { /** Storage for the items in the model. */ @@ -163,14 +161,14 @@ /** * Handles changes to the selection in the directory combo box. */ - protected class DirectoryComboBoxAction - extends AbstractAction + protected class DirectoryComboBoxAction extends AbstractAction { /** * Creates a new action. */ protected DirectoryComboBoxAction() { + // Nothing to do here. } /** @@ -188,8 +186,7 @@ /** * A renderer for the files and directories in the file chooser. */ - protected class FileRenderer - extends DefaultListCellRenderer + protected class FileRenderer extends DefaultListCellRenderer { /** @@ -197,6 +194,7 @@ */ protected FileRenderer() { + // Nothing to do here. } /** @@ -341,14 +339,14 @@ /** * A renderer for the items in the file filter combo box. */ - public class FilterComboBoxRenderer - extends DefaultListCellRenderer + public class FilterComboBoxRenderer extends DefaultListCellRenderer { /** * Creates a new renderer. */ public FilterComboBoxRenderer() - { + { + // Nothing to do here. } /** @@ -373,7 +371,7 @@ } /** The model for the directory combo box. */ - private DirectoryComboBoxModel directoryModel; + DirectoryComboBoxModel directoryModel; /** * A factory method that returns a UI delegate for the specified Index: javax/swing/plaf/metal/MetalIconFactory.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalIconFactory.java,v retrieving revision 1.17 diff -u -r1.17 MetalIconFactory.java --- javax/swing/plaf/metal/MetalIconFactory.java 12 Oct 2005 13:39:17 -0000 1.17 +++ javax/swing/plaf/metal/MetalIconFactory.java 19 Oct 2005 13:43:21 -0000 @@ -77,6 +77,7 @@ */ public CheckBoxMenuItemIcon() { + // Nothing to do here. } /** @@ -144,14 +145,15 @@ * * @see MetalIconFactory#getFileChooserDetailViewIcon() */ - private static class FileChooserDetailViewIcon - implements Icon, Serializable { - + private static class FileChooserDetailViewIcon implements Icon, Serializable + { + /** * Creates a new icon. */ public FileChooserDetailViewIcon() { + // Nothing to do here. } /** @@ -223,14 +225,15 @@ * * @see MetalIconFactory#getFileChooserHomeFolderIcon() */ - private static class FileChooserHomeFolderIcon - implements Icon, Serializable { - + private static class FileChooserHomeFolderIcon implements Icon, Serializable + { + /** * Creates a new icon. */ public FileChooserHomeFolderIcon() { + // Nothing to do here. } /** @@ -318,6 +321,7 @@ */ public FileChooserListViewIcon() { + // Nothing to do here. } /** @@ -406,14 +410,14 @@ * * @see MetalIconFactory#getFileChooserNewFolderIcon() */ - private static class FileChooserNewFolderIcon - implements Icon, Serializable + private static class FileChooserNewFolderIcon implements Icon, Serializable { /** * Creates a new icon. */ public FileChooserNewFolderIcon() { + // Nothing to do here. } /** @@ -478,8 +482,7 @@ * * @see MetalIconFactory#getFileChooserNewFolderIcon() */ - private static class FileChooserUpFolderIcon - extends FileChooserNewFolderIcon + private static class FileChooserUpFolderIcon extends FileChooserNewFolderIcon implements Icon, Serializable { /** @@ -487,6 +490,7 @@ */ public FileChooserUpFolderIcon() { + // Nothing to do here. } /** @@ -678,7 +682,7 @@ * * @since 1.3 */ - public static class PaletteCloseIcon + public static class PaletteCloseIcon implements Icon, Serializable, UIResource { /** @@ -740,8 +744,7 @@ * * @author Roman Kennke (address@hidden) */ - static class RadioButtonIcon - implements Icon, UIResource, Serializable + static class RadioButtonIcon implements Icon, UIResource, Serializable { /** @@ -855,14 +858,14 @@ /** * An icon displayed for address@hidden JRadioButtonMenuItem} components. */ - private static class RadioButtonMenuItemIcon - implements Icon, Serializable + private static class RadioButtonMenuItemIcon implements Icon, Serializable { /** * Creates a new icon instance. */ public RadioButtonMenuItemIcon() - { + { + // Nothing to do here. } /** @@ -932,8 +935,7 @@ * The icon used to display the thumb control on a horizontally oriented * address@hidden JSlider} component. */ - private static class HorizontalSliderThumbIcon - implements Icon, Serializable + private static class HorizontalSliderThumbIcon implements Icon, Serializable { /** @@ -941,6 +943,7 @@ */ public HorizontalSliderThumbIcon() { + // Nothing to do here. } /** @@ -1050,7 +1053,7 @@ * An icon used for the 'close' button in the title frame of a * address@hidden JInternalFrame}. */ - private static class InternalFrameCloseIcon implements Icon, Serializable + private static class InternalFrameCloseIcon implements Icon, Serializable { /** The icon size in pixels. */ private int size; @@ -1166,8 +1169,8 @@ /** * The icon displayed at the top-left corner of a address@hidden JInternalFrame}. */ - private static class InternalFrameDefaultMenuIcon - implements Icon, Serializable + private static class InternalFrameDefaultMenuIcon + implements Icon, Serializable { /** @@ -1175,6 +1178,7 @@ */ public InternalFrameDefaultMenuIcon() { + // Nothing to do here. } /** @@ -1237,8 +1241,8 @@ * maximise an internal frame, this icon will replace the 'maximise' icon to * provide a 'restore' option. */ - private static class InternalFrameAltMaximizeIcon - implements Icon, Serializable + private static class InternalFrameAltMaximizeIcon + implements Icon, Serializable { /** The icon size in pixels. */ private int size; @@ -1348,8 +1352,7 @@ * An icon used for the 'maximize' button in the title frame of a * address@hidden JInternalFrame}. */ - private static class InternalFrameMaximizeIcon - implements Icon, Serializable + private static class InternalFrameMaximizeIcon implements Icon, Serializable { /** @@ -1357,6 +1360,7 @@ */ public InternalFrameMaximizeIcon() { + // Nothing to do here. } /** @@ -1460,8 +1464,7 @@ /** * An icon used in the title frame of a address@hidden JInternalFrame}. */ - private static class InternalFrameMinimizeIcon - implements Icon, Serializable + private static class InternalFrameMinimizeIcon implements Icon, Serializable { /** @@ -1469,6 +1472,7 @@ */ public InternalFrameMinimizeIcon() { + // Nothing to do here. } /** @@ -1564,13 +1568,14 @@ * The icon used to display the thumb control on a horizontally oriented * address@hidden JSlider} component. */ - private static class VerticalSliderThumbIcon implements Icon, Serializable + private static class VerticalSliderThumbIcon implements Icon, Serializable { /** * Creates a new instance. */ public VerticalSliderThumbIcon() { + // Nothing to do here. } /** @@ -1681,7 +1686,7 @@ * A tree control icon. This icon can be in one of two states: expanded and * collapsed. */ - public static class TreeControlIcon implements Icon, Serializable + public static class TreeControlIcon implements Icon, Serializable { /** ???. */ @@ -1814,13 +1819,14 @@ /** * A tree folder icon. */ - public static class TreeFolderIcon extends FolderIcon16 + public static class TreeFolderIcon extends FolderIcon16 { /** * Creates a new instance. */ public TreeFolderIcon() - { + { + // Nothing to do here. } /** @@ -1848,13 +1854,14 @@ /** * A tree leaf icon. */ - public static class TreeLeafIcon extends FileIcon16 + public static class TreeLeafIcon extends FileIcon16 { /** * Creates a new instance. */ public TreeLeafIcon() { + // Nothing to do here. } /** @@ -1884,15 +1891,15 @@ * * @see MetalIconFactory#getTreeHardDriveIcon() */ - private static class TreeHardDriveIcon - implements Icon, Serializable + private static class TreeHardDriveIcon implements Icon, Serializable { /** * Creates a new icon instance. */ public TreeHardDriveIcon() - { + { + // Nothing to do here. } /** @@ -1994,15 +2001,15 @@ * * @see MetalIconFactory#getTreeFloppyDriveIcon() */ - private static class TreeFloppyDriveIcon - implements Icon, Serializable + private static class TreeFloppyDriveIcon implements Icon, Serializable { /** * Creates a new icon instance. */ public TreeFloppyDriveIcon() - { + { + // Nothing to do here. } /** @@ -2070,14 +2077,15 @@ * * @see MetalIconFactory#getTreeComputerIcon() */ - private static class TreeComputerIcon implements Icon, Serializable + private static class TreeComputerIcon implements Icon, Serializable { /** * Creates a new icon instance. */ public TreeComputerIcon() - { + { + // Nothing to do here. } /** @@ -2179,7 +2187,8 @@ * instance isn't necessary. */ public MetalIconFactory() - { + { + // Nothing to do here. } /** Index: javax/swing/plaf/metal/MetalInternalFrameTitlePane.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,v retrieving revision 1.3 diff -u -r1.3 MetalInternalFrameTitlePane.java --- javax/swing/plaf/metal/MetalInternalFrameTitlePane.java 28 Sep 2005 12:58:02 -0000 1.3 +++ javax/swing/plaf/metal/MetalInternalFrameTitlePane.java 19 Oct 2005 13:43:22 -0000 @@ -214,6 +214,7 @@ */ public void removeLayoutComponent(Component c) { + // Nothing to do here. } } @@ -234,7 +235,7 @@ protected int paletteTitleHeight; /** The label used to display the title for the internal frame. */ - private JLabel title; + JLabel title; /** * Creates a new title pane for the specified frame. Index: javax/swing/plaf/metal/MetalProgressBarUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalProgressBarUI.java,v retrieving revision 1.4 diff -u -r1.4 MetalProgressBarUI.java --- javax/swing/plaf/metal/MetalProgressBarUI.java 28 Sep 2005 13:28:35 -0000 1.4 +++ javax/swing/plaf/metal/MetalProgressBarUI.java 19 Oct 2005 13:43:22 -0000 @@ -38,14 +38,11 @@ package javax.swing.plaf.metal; -import java.util.HashMap; - import javax.swing.JComponent; import javax.swing.plaf.ComponentUI; import javax.swing.plaf.basic.BasicProgressBarUI; -public class MetalProgressBarUI - extends BasicProgressBarUI +public class MetalProgressBarUI extends BasicProgressBarUI { /** * Constructs a new instance of MetalProgressBarUI. Index: javax/swing/plaf/metal/MetalScrollBarUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,v retrieving revision 1.8 diff -u -r1.8 MetalScrollBarUI.java --- javax/swing/plaf/metal/MetalScrollBarUI.java 2 Oct 2005 14:30:00 -0000 1.8 +++ javax/swing/plaf/metal/MetalScrollBarUI.java 19 Oct 2005 13:43:22 -0000 @@ -56,8 +56,7 @@ /** * A UI delegate for the address@hidden JScrollBar} component. */ -public class MetalScrollBarUI - extends BasicScrollBarUI +public class MetalScrollBarUI extends BasicScrollBarUI { /** @@ -75,6 +74,7 @@ */ public MetalScrollBarPropertyChangeHandler() { + // Nothing to do here. } /** Index: javax/swing/plaf/metal/MetalSliderUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalSliderUI.java,v retrieving revision 1.5 diff -u -r1.5 MetalSliderUI.java --- javax/swing/plaf/metal/MetalSliderUI.java 7 Sep 2005 10:13:33 -0000 1.5 +++ javax/swing/plaf/metal/MetalSliderUI.java 19 Oct 2005 13:43:22 -0000 @@ -56,8 +56,7 @@ /** * A UI delegate for the address@hidden JSlider} component. */ -public class MetalSliderUI - extends BasicSliderUI +public class MetalSliderUI extends BasicSliderUI { /** * A property change handler that updates the rendered component in response @@ -66,13 +65,14 @@ * the address@hidden MetalLookAndFeel}. */ protected class MetalPropertyListener - extends BasicSliderUI.PropertyChangeHandler + extends BasicSliderUI.PropertyChangeHandler { /** * Creates a new listener. */ protected MetalPropertyListener() { + // Nothing to do here. } /** Index: javax/swing/plaf/metal/MetalSplitPaneUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalSplitPaneUI.java,v retrieving revision 1.5 diff -u -r1.5 MetalSplitPaneUI.java --- javax/swing/plaf/metal/MetalSplitPaneUI.java 28 Sep 2005 13:28:35 -0000 1.5 +++ javax/swing/plaf/metal/MetalSplitPaneUI.java 19 Oct 2005 13:43:22 -0000 @@ -39,7 +39,6 @@ package javax.swing.plaf.metal; import java.awt.Color; -import java.util.HashMap; import javax.swing.JComponent; import javax.swing.UIDefaults; @@ -48,8 +47,7 @@ import javax.swing.plaf.basic.BasicSplitPaneUI; import javax.swing.plaf.basic.BasicSplitPaneDivider; -public class MetalSplitPaneUI - extends BasicSplitPaneUI +public class MetalSplitPaneUI extends BasicSplitPaneUI { /** * Constructs a new instance of MetalSplitPaneUI. Index: javax/swing/plaf/metal/MetalTabbedPaneUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,v retrieving revision 1.7 diff -u -r1.7 MetalTabbedPaneUI.java --- javax/swing/plaf/metal/MetalTabbedPaneUI.java 28 Sep 2005 13:28:35 -0000 1.7 +++ javax/swing/plaf/metal/MetalTabbedPaneUI.java 19 Oct 2005 13:43:22 -0000 @@ -40,7 +40,6 @@ import java.awt.Graphics; import java.awt.LayoutManager; -import java.util.HashMap; import javax.swing.JComponent; import javax.swing.JTabbedPane; @@ -51,8 +50,7 @@ * A UI delegate used for the address@hidden JTabbedPane} component in the * address@hidden MetalLookAndFeel}. */ -public class MetalTabbedPaneUI - extends BasicTabbedPaneUI +public class MetalTabbedPaneUI extends BasicTabbedPaneUI { /** @@ -65,13 +63,14 @@ * public for compatibility. */ public class TabbedPaneLayout - extends BasicTabbedPaneUI.TabbedPaneLayout + extends BasicTabbedPaneUI.TabbedPaneLayout { /** * Creates a new instance of the layout manager. */ public TabbedPaneLayout() { + // Nothing to do here. } /** Index: javax/swing/plaf/metal/MetalTextFieldUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalTextFieldUI.java,v retrieving revision 1.4 diff -u -r1.4 MetalTextFieldUI.java --- javax/swing/plaf/metal/MetalTextFieldUI.java 28 Sep 2005 13:28:35 -0000 1.4 +++ javax/swing/plaf/metal/MetalTextFieldUI.java 19 Oct 2005 13:43:22 -0000 @@ -38,14 +38,11 @@ package javax.swing.plaf.metal; -import java.util.HashMap; - import javax.swing.JComponent; import javax.swing.plaf.ComponentUI; import javax.swing.plaf.basic.BasicTextFieldUI; -public class MetalTextFieldUI - extends BasicTextFieldUI +public class MetalTextFieldUI extends BasicTextFieldUI { /** * Constructs a new instance of MetalTextFieldUI. Index: javax/swing/plaf/metal/MetalToolBarUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalToolBarUI.java,v retrieving revision 1.3 diff -u -r1.3 MetalToolBarUI.java --- javax/swing/plaf/metal/MetalToolBarUI.java 27 Sep 2005 15:40:26 -0000 1.3 +++ javax/swing/plaf/metal/MetalToolBarUI.java 19 Oct 2005 13:43:22 -0000 @@ -50,8 +50,7 @@ /** * A UI delegate for the address@hidden JToolBar} component. */ -public class MetalToolBarUI - extends BasicToolBarUI +public class MetalToolBarUI extends BasicToolBarUI { /** @@ -68,7 +67,8 @@ * Creates a new instance. */ protected MetalContainerListener() - { + { + // Nothing to do here. } } @@ -86,6 +86,7 @@ */ protected MetalRolloverListener() { + // Nothing to do here. } } Index: javax/swing/plaf/metal/MetalTreeUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalTreeUI.java,v retrieving revision 1.12 diff -u -r1.12 MetalTreeUI.java --- javax/swing/plaf/metal/MetalTreeUI.java 18 Oct 2005 17:46:37 -0000 1.12 +++ javax/swing/plaf/metal/MetalTreeUI.java 19 Oct 2005 13:43:22 -0000 @@ -45,7 +45,6 @@ import java.awt.event.FocusListener; import java.awt.event.KeyListener; import java.beans.PropertyChangeListener; -import java.util.HashMap; import java.util.Hashtable; import javax.swing.JComponent; @@ -64,8 +63,7 @@ import javax.swing.plaf.ComponentUI; import javax.swing.plaf.basic.BasicTreeUI; -public class MetalTreeUI - extends BasicTreeUI +public class MetalTreeUI extends BasicTreeUI { /** Listeners */ Index: javax/swing/plaf/metal/MetalUtils.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalUtils.java,v retrieving revision 1.4 diff -u -r1.4 MetalUtils.java --- javax/swing/plaf/metal/MetalUtils.java 28 Sep 2005 12:38:40 -0000 1.4 +++ javax/swing/plaf/metal/MetalUtils.java 19 Oct 2005 13:43:22 -0000 @@ -41,9 +41,6 @@ import java.awt.Component; import java.awt.Graphics; import java.awt.Graphics2D; -import java.awt.Image; -import java.awt.Rectangle; -import java.awt.Shape; import java.awt.TexturePaint; import java.awt.geom.Rectangle2D; import java.awt.image.BufferedImage; @@ -116,7 +113,7 @@ /** * Fills a rectangle with the typical Metal pattern using Java2D. * - * @param g the Graphics2D context to use + * @param g2d the Graphics2D context to use * @param x the X coordinate of the upper left corner of the rectangle to * fill * @param y the Y coordinate of the upper left corner of the rectangle to