示例#1
1
 public Controller(Action toggleAction) {
   itemList.setModel(new DefaultComboBoxModel());
   itemList.setPrototypeDisplayValue("------------------------");
   enableEditor(false);
   this.toggleAction = toggleAction;
 }