aspose file tools*
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
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: 598
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: 38888
    
  23
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: 598
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: 38888
    
  23
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.
 
wood burning stoves
 
subject: The program is not responding to the click on the button in a JLayeredPane