Hi, I've come into a sort of odd problem/glitch and was wondering if anyone
be of some help.
I'm in the process of making a simple web-browser that is being displayed using a JFrame. In the JFrame so far there are various Jbuttons, JTextAreas, JLabels and so on.
When I run my program (I am doing frame.setVisible(true)) ,
about 80% of the time, the JFrame will not accurately display everything
within it.
For instance, I have both a back and submit button in the JFrame. The back
button will always show, but occasionally the submit button will appear to
be blank even though the text "submit" is explicitly assigned to it. I am beginning to think that this may be an issue with my computer, but I have not tested this on other computers so I don't know if it's just mine.
However, if I maximize the window and then restore the size, the seemingly-non-existent components of the JFrame magically appear.
Included also are some screenshots (of the JFrame both with all elements and
without some elements):
With all the elements of the JFrame visible:
With only some visible:
(The Label that has text "Label" and part of the send Button are missing)
I still don't get why only some of the text disappears...
Also if it helps I'm running Windows XP SP2 with
a NVidia GeForceGo 7900 GS graphics card (supports SLI)
Any help would be great, Thanks!
Edit: Another note, I'm using Eclipse SDK
[ April 16, 2008: Message edited by: Kevin Doo ]
[ April 16, 2008: Message edited by: ]