• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

facing problem in event handling

 
pankaj saxena
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,

I am developing one project , in which I have only one frame , on that frame I have added different JPanel via using CardLayout Manager.
I have added differenct components (like TextFields, Buttons,etc. ) on each JPanel(a form page : to enter details).

My Question is :

Q: When I am clicking the Save button on JPanel Form page after taking input from the user via textfields, nothing is happening.
Q: The code which I have written in actionPerformed() method is not even executing the System.out.println(" in save button");

what should I do?

thanks.
regards!
 
Campbell Ritchie
Sheriff
Posts: 48386
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we need to see some of the code, please.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic