This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes facing problem in event handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "facing problem in event handling" Watch "facing problem in event handling" New topic
Author

facing problem in event handling

pankaj saxena
Ranch Hand

Joined: Nov 21, 2009
Posts: 46
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

Joined: Oct 13, 2005
Posts: 39478
    
  28
I think we need to see some of the code, please.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: facing problem in event handling