The object of JSeparator class is used to provide a general purpose component for implementing divider lines. It is used to draw a line to separate widgets in a Layout. It inherits JComponent class.
JSeparator class declaration
Commonly used Constructors of JSeparator
Commonly used Methods of JSeparator
Java JSeparator Example 1
Java JSeparator Example 2