• Post Reply Bookmark Topic Watch Topic
  • New Topic

ActionListener Or Layout Problems?  RSS feed

 
caprina cheryl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
caprina cheryl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have few problems regarding my code.First,after I've implemented ActionListener all my panel layout gone missing.Second,the buttons will only appear after mouse points on it.Can anyone points out my error whether it's layout or ActionListener problem and how to solve it?Thanks.
 
Paul Clapham
Sheriff
Posts: 22834
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's hard to tell, because your code is unreadable for several reasons, including

- It isn't indented

- There are comments which look like code

So my guess is that when you inserted the code for your ActionListener, you inserted it in the wrong place. I would suggest starting again, and this time write your code so you can read it. Your future self will thank you.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!