Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how do I update jcontentpane?

807588Mar 28 2009 — edited Mar 28 2009
Hi
I have my main window. Then i click File (my menu)..... open another window,,,,, when I close this new window I add a Panel to my main window, add some radiobuttons to it, and adds it to the jcontentpane in main window.

Are there a method for updating, refreshing or repainting the contentpane right away? The new panel doesn't appear before I resize my main window or something.. I want my main window to show the new components as soon as I add them.. Do I have to click the minimize window, restore window buttons at the upper right corner to show my new components?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2009
Added on Mar 28 2009
3 comments
347 views