Java examples for Swing:JSeparator
JSeparator adds a separator between two components.
Create a horizontal separator. By default, the type is horizontal.
JSeparator hs = new JSeparator();
Create a vertical separator
JSeparator vs = new JSeparator(SwingConstants.VERTICAL);