JSeparator : JSeparator « Swing « Java Tutorial






  1. The JSeparator class is a special component that acts as a separator on a JMenu.
  2. JSeparator can be used anywhere you want to use a horizontal or vertical line to separate different areas of a screen.
14.29.JSeparator
14.29.1.JSeparator
14.29.2.Add Separator to MenuAdd Separator to Menu
14.29.3.The JSeparator class provides a horizontal or vertical dividing line or empty spaceThe JSeparator class provides a horizontal or vertical dividing line or empty space
14.29.4.Customizing JSeparator Look and Feel