View Single Post
  #3 (permalink)  
Old 03-26-2008, 04:50 AM
wco5002 wco5002 is offline
Member
 
Join Date: Mar 2008
Posts: 14
wco5002 is on a distinguished road
How can I incorporate the repaint() method into this?

Would I have to write something like this:

Code:
public void actionPerformed(ActionEvent e) { if("firstButton".equals(event.getActionCommand())){ g.drawImage(imageArr[0], 0, 0, this) } }
Reply With Quote