Example usage for Java javax.swing JSeparator fields, constructors, methods, implement or subclass
The text is from its open source code.
JSeparator(int orientation) Creates a new separator with the specified horizontal or vertical orientation. | |
JSeparator() Creates a new horizontal separator. |
Dimension | getPreferredSize() If the preferredSize has been set to a non-null value just returns it. |
void | setBackground(Color bg) Sets the background color of this component. |
void | setBounds(int x, int y, int width, int height) Moves and resizes this component. |
void | setForeground(Color fg) Sets the foreground color of this component. |
void | setMaximumSize(Dimension maximumSize) Sets the maximum size of this component to a constant value. |
void | setMinimumSize(Dimension minimumSize) Sets the minimum size of this component to a constant value. |
void | setName(String name) Sets the name of the component to the specified string. |
void | setOrientation(int orientation) Sets the orientation of the separator. |
void | setPreferredSize(Dimension preferredSize) Sets the preferred size of this component. |
void | setSize(Dimension d) Resizes this component so that it has width d.width and height d.height . |
void | setVisible(boolean aFlag) Makes the component visible or invisible. |