/** {@inheritDoc} */
 public void setInfo(ControlPanelInfo info) {
   super.setInfo(info);
   ListCellRenderer indexCellRenderer = new IndexCellRenderer(addRemove.getAvailableList(), info);
   addRemove.getAvailableList().setCellRenderer(indexCellRenderer);
   addRemove.getSelectedList().setCellRenderer(indexCellRenderer);
   info.addIndexModifiedListener(this);
 }
예제 #2
0
 /** {@inheritDoc} */
 public void setInfo(ControlPanelInfo info) {
   super.setInfo(info);
   treePane.setInfo(info);
   entryPane.setInfo(info);
   info.addIndexModifiedListener(this);
 }