permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes Problem in loading swing GUI components 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
Reply locked New topic

Problem in loading swing GUI components

Aos Khalifa

Joined: Mar 18, 2012
Posts: 5
Hello guys,
I have this problem , When i run my java app ,sometimes it doesn't load GUI components till i focus it or move the mouse over it .
ex : I have a JButton , sometimes it appears correctly and sometimes I have to move the mouse over it to be displayed .

any solution please ??

Thanks .....
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167

Impossible to say without seeing your code.
Please share your SSCCE (<=click link to find out what SSCCE actuallymeans).

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 37953
Maneesh, I hope you don’t mind, but I am closing this thread as a duplicate of this question. Aos Khalifa, please read this.
I agree. Here's the link:
subject: Problem in loading swing GUI components
Similar Threads
Timestamp Converter Applet
Drop Down Menu Buttons
Is it possible to change the cursor with onMouseOver...
Problem in loading swing GUI components
online help document problem