private Component createSeparator(){
  JSeparator sep=new JSeparator(SwingConstants.VERTICAL);
  sep.setPreferredSize(new Dimension(2,30));
  sep.setMinimumSize(new Dimension(2,30));
  return sep;
}

private Component createSeparator ( ) { JSeparator sep = new JSeparator ( SwingConstants . VERTICAL ) ; sep . setPreferredSize ( new Dimension ( 2 , 30 ) ) ; sep . setMinimumSize ( new Dimension ( 2 , 30 ) ) ; return sep ; }
creates a vertical separator for visually separating status bar elements
