1. refreshing container get NullPointerException errors coderanch.comI have a JFrame with some JButtons, JPanels, and layout managers. One of the buttons I have is a reset button to reset everything back to it's original state. When I click on the button I jump down to my buttonHandler method. When it is determined that the reset button was clicked it resets everything OK but after refreshing my container ... |
2. Help: Container not refreshing java-forums.orgHello, world! I recently made a GridBagLayout GUI for one of my programs (my first GUI!). The way i have it set up is there are several 'screens' that the user can view, and several buttons on the 'main screen' that correspond to the others. When a button is pressed, my action listener calls a method that clears the container, then ... |