File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 9990

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: 36465
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
Problem in loading swing GUI components
Timestamp Converter Applet
Is it possible to change the cursor with onMouseOver...
online help document problem
Drop Down Menu Buttons