This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "facing problem in event handling" Watch "facing problem in event handling" New topic

facing problem in event handling

pankaj saxena
Ranch Hand

Joined: Nov 21, 2009
Posts: 46

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?

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 37953
I think we need to see some of the code, please.
subject: facing problem in event handling
Similar Threads
using resolution independent swing component
Regarding repaint()
Tapestry-request loses parameters passed after page is rendered
communication between applet and javascript
textfield event handling