#navi(contents-page-name): No such page: ST

FrontPage

Terai Atsuhiro 2023-06-29 (木) 15:35:56

http://terai.s55.xrea.com/swing/enabledat/screenshot.png

checkbox.addItemListener(new ItemListener(){
  public void itemStateChanged(ItemEvent e){
    if(e.getStateChange()==ItemEvent.SELECTED) {
      tab.setEnabledAt(1, true);
    }else if(e.getStateChange()==ItemEvent.DESELECTED) {
      tab.setEnabledAt(1, false);
    }
  }
});