< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/InsetsUIResource.java

Print this page

        

*** 27,37 **** import java.awt.Insets; import javax.swing.plaf.UIResource; ! /* * A subclass of Insets that implements UIResource. UI * classes that use Insets values for default properties * should use this class. * <p> * <strong>Warning:</strong> --- 27,37 ---- import java.awt.Insets; import javax.swing.plaf.UIResource; ! /** * A subclass of Insets that implements UIResource. UI * classes that use Insets values for default properties * should use this class. * <p> * <strong>Warning:</strong>
*** 48,56 **** --- 48,63 ---- * */ @SuppressWarnings("serial") // Same-version serialization only public class InsetsUIResource extends Insets implements UIResource { + /** + * Constructs an {@code InsetsUIResource}. + * @param top the inset from the top + * @param left the inset from the left + * @param bottom the inset from the bottom + * @param right the inset from the right + */ public InsetsUIResource(int top, int left, int bottom, int right) { super(top, left, bottom, right); } }
< prev index next >