@Override public void itemStateChanged(ItemEvent ie){
  CardLayout cl=(CardLayout)(settingsContainer.getLayout());
  cl.show(settingsContainer,(String)ie.getItem());
}

@ Override public void itemStateChanged ( ItemEvent ie ) { CardLayout cl = ( CardLayout ) ( settingsContainer . getLayout ( ) ) ; cl . show ( settingsContainer , ( String ) ie . getItem ( ) ) ; }
show the ui for the specific attacks . called if the selection jcombobox changes .
