private JList<Configurable> createNewConfigurableJList(String source){
  final JList<Configurable> createdConfigList=new JList<>();
  createdConfigList.setModel(source == null ? localConfigListModel : remoteConfigListModels.get(source));
  createdConfigList.setCellRenderer(new ConfigurableRenderer());
  createdConfigList.setFixedCellHeight(40);
  createdConfigList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  createdConfigList.setBackground(LIGHTER_GRAY);
  return createdConfigList;
}

private JList < Configurable > createNewConfigurableJList ( String source ) { final JList < Configurable > createdConfigList = new JList < > ( ) ; createdConfigList . setModel ( source == null ? localConfigListModel : remoteConfigListModels . get ( source ) ) ; createdConfigList . setCellRenderer ( new ConfigurableRenderer ( ) ) ; createdConfigList . setFixedCellHeight ( 40 ) ; createdConfigList . setSelectionMode ( ListSelectionModel . SINGLE_SELECTION ) ; createdConfigList . setBackground ( LIGHTER_GRAY ) ; return createdConfigList ; }
creates a new jlist for a given source of a configurable
