This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes The program is not responding to the click on the button in a JLayeredPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "The program is not responding to the click on the button in a JLayeredPane" Watch "The program is not responding to the click on the button in a JLayeredPane" New topic
Author

The program is not responding to the click on the button in a JLayeredPane

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 620
Neither the button appears
I want it to show
System.out.println("I am finding a customer");
As I am getting the topPanel's btnDone







Please help
Thanks
Jack
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43399
    
  32
Please post an SSCCE, as you have been told several times.
Please put some debugging print instructions in the code where you are adding the button, to confirm its details at the time of creation.
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 620
Campbell Ritchie wrote:Please post an SSCCE, as you have been told several times.
Please put some debugging print instructions in the code where you are adding the button, to confirm its details at the time of creation.


Hi Campbell,
This is a SSCCE, it is compilable.
Could you please shed some lights on this?
Thanks
Jack
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43399
    
  32
No, it is not an SSCCE. The first S means short, which that example is not. Nobody will help you if you persist in posting so much code.
 
 
subject: The program is not responding to the click on the button in a JLayeredPane
 
It's not a secret anymore!