how do I update jcontentpane?
807588Mar 28 2009 — edited Mar 28 2009Hi
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?