private static JLabel createLabel(final String string){
  final JLabel label=new JLabel(string);
  label.setBorder(new EmptyBorder(5,5,5,5));
  return label;
}

private static JLabel createLabel ( final String string ) { final JLabel label = new JLabel ( string ) ; label . setBorder ( new EmptyBorder ( 5 , 5 , 5 , 5 ) ) ; return label ; }
small helper function that creates a padded label .
