java.lang.Object
|
+----com.sun.java.swing.border.AbstractBorder
|
+----com.sun.java.swing.border.EmptyBorder
A class which provides an empty, transparent border which takes up space but does no drawing.
Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
protected int leftright
protected int righttop
protected int topbottom
protected int bottom
public EmptyBorder(int top,
int left,
int bottom,
int right)
public EmptyBorder(Insets insets)
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
public Insets getBorderInsets(Component c)
public boolean isBorderOpaque()
![]()