Exemplo n.º 1
0
 void syncLists() {
   JList list = webPanels[1 - panelIndex].instanceList;
   DefaultListModel model1 = (DefaultListModel) instanceList.getModel();
   DefaultListModel model2 = (DefaultListModel) list.getModel();
   model2.clear();
   int n = model1.getSize();
   for (int i = 0; i < n; i++)
     model2.addElement(model1.get(i));
   list.setSelectedIndices(new int[] {});
   enableButtons(instanceList);
   webPanels[1 - panelIndex].enableButtons(list);
 }
Exemplo n.º 2
0
 protected void reset() {
   fCounterPanel.reset();
   fProgressIndicator.reset();
   fFailureView.clear();
   fFailures.clear();
 }
Exemplo n.º 3
0
 public void clearFormEntry() {
   formEntry.clear();
   listModel.clear();
   revalidate();
 }