This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
hi, i never did like that way that was shown above...i hate cramming code like that ...i duno just a preference thing though.. what i always to is , 1:make your class implement the ActionListener interface 2:you must then have an ActionPerformed method that looks like this --->public void actionPerformed(ActionEvent e) a short short example may help
you can do this for as many buttons as you want, and just folow the same basic outline i have shown.Hope it helps some, or atleast gives you another perspective.
National Research Council<br />Internet Logic Department