Beispiel #1
0
 public void itemStateChanged(ItemEvent e) {
   PlayerType ptype = (PlayerType) e.getItem();
   CardLayout cl = (CardLayout) mTabs.getLayout();
   assert (cl.getClass() == CardLayout.class);
   cl.show(mTabs, ptype.toString());
 }