View Single Post
  #6 (permalink)  
Old 03-26-2008, 05:07 AM
Eranga's Avatar
Eranga Eranga is offline
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,576
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
You have to change the following code

Code:
if("firstButton".equals(event.getActionCommand())){
as

Code:
if("firstButton".equals(e.getActionCommand())){
And also how can you call the line

Code:
g.drawImage(imageArr[0], 0, 0, this)
with out referring the graphic class. At the same time you have miss the semicolon at the end of that line.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Eranga : 03-26-2008 at 05:47 AM.
Reply With Quote