|
-
Dec 29th, 2002, 02:53 PM
#1
Thread Starter
Hyperactive Member
Swing Display Problem
I have been using SunOne Studio and have several buttons in a frame on a form.
When I show the buttons they show correctly, If I then try and hide them, they dont hide.
Once ive told them to hide, the image of the buttons remain on the screen, however they arn't their, clicking them does nothing.
If I move the window, or make it bigger or smaller the buttons vanish.
How do I cause the screen to refresh? or if that is not possible, how do I resize the application window?
Thanks in advance for any help you can offer.
-
Dec 29th, 2002, 09:40 PM
#2
Just call the repaint() method of the Frame. That should take care of it.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Dec 31st, 2002, 01:30 PM
#3
Thread Starter
Hyperactive Member
Thats not working either.
Although I said frame, its actually a jPanel, which im assuming may be why its not working. However i tried it with a frame instead, again nothing happened.
Any other ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|