Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-23-2008, 08:27 PM   PM User | #1
chiefbutz
New Coder

 
Join Date: Mar 2005
Location: Indiana (USA)
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
chiefbutz is an unknown quantity at this point
repaint?

I have a window and after an event I rebuild a container that is in the window. currently I empty the container and then re-add the elements to it so get me new container. The container is the windows content pane. When I make changes in the container they do not show up. Can anymore offer me a bit of help? I can post my code if you need me to.

And btw, repaint() is not doing anything. I know stuff is happening because I can hide the window and show it and the new one is correct, but I then have 2 windows.

Last edited by chiefbutz; 04-23-2008 at 08:52 PM..
chiefbutz is offline   Reply With Quote
Old 05-01-2008, 05:52 PM   PM User | #2
icm9768
New Coder

 
Join Date: Jun 2005
Posts: 32
Thanks: 0
Thanked 2 Times in 2 Posts
icm9768 is an unknown quantity at this point
Try calling validate() on your container.
icm9768 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:13 PM.


Advertisement
Log in to turn off these ads.