private JLabel createStatusIndicator(String identifier){
  Icon icon=new ImageIcon(DataLoader.getResource(iconFolder + identifier + ".png"));
  JLabel label=new JLabel(icon);
  label.setVisible(false);
  add(label);
  return label;
}

private JLabel createStatusIndicator ( String identifier ) { Icon icon = new ImageIcon ( DataLoader . getResource ( iconFolder + identifier + ".png" ) ) ; JLabel label = new JLabel ( icon ) ; label . setVisible ( false ) ; add ( label ) ; return label ; }
create and add a status indicator label .
