private JList<String> createNewInfoLabelJList(String source){
  final JList<String> createdInfoLabelList=new JList<>();
  createdInfoLabelList.setModel(source == null ? localInfoLabelListModel : remoteInfoLabelListModels.get(source));
  createdInfoLabelList.setCellRenderer(new ConfigurableInfoLabelRenderer());
  createdInfoLabelList.setFixedCellHeight(20);
  createdInfoLabelList.setBackground(LIGHTER_GRAY);
  return createdInfoLabelList;
}

private JList < String > createNewInfoLabelJList ( String source ) { final JList < String > createdInfoLabelList = new JList < > ( ) ; createdInfoLabelList . setModel ( source == null ? localInfoLabelListModel : remoteInfoLabelListModels . get ( source ) ) ; createdInfoLabelList . setCellRenderer ( new ConfigurableInfoLabelRenderer ( ) ) ; createdInfoLabelList . setFixedCellHeight ( 20 ) ; createdInfoLabelList . setBackground ( LIGHTER_GRAY ) ; return createdInfoLabelList ; }
creates a new jlist for info labels of a source
