Exemplo n.º 1
0
 private JList<String> machineList() {
   if (machineList == null) {
     machineList = ui.createList(boxes().toArray(new String[0]));
     machineList.addListSelectionListener(this);
   }
   return machineList;
 }
Exemplo n.º 2
0
 private JList<String> tubList() {
   if (tubList == null) {
     tubList = ui.createList(new String[] {});
     tubList.addListSelectionListener(this);
   }
   return tubList;
 }
Exemplo n.º 3
0
 private JList<String> boxList() {
   if (boxList == null) {
     boxList = ui.createList(boxes().toArray(new String[0]));
     boxList.addListSelectionListener(this);
   }
   return boxList;
 }