This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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