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: 580
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: 36501
    
  16
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: 580
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: 36501
    
  16
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.
 
Don't get me started about those stupid light bulbs.
 
subject: The program is not responding to the click on the button in a JLayeredPane
 
Similar Threads
Problem displaying JScrollPane with custom gradient paint
painting a cell with custom renderer
How can I make the field initialized before the initComponents method is called?
Why the centerPanel won't refresh automatically?
DefaultMutableTreeNode cannot regain focus on the second click