View Single Post
Old Sep 19th, 2005, 9:08 AM   #3
PhillyRunner
Newbie
 
Join Date: Sep 2005
Posts: 3
Rep Power: 0 PhillyRunner is on a distinguished road
sorry for the lack of tags... i'll get my brain working one of these days (if only the hamster would stay on the wheel).

when you ask about adding the jpanel to the jframe, i assume you are referring to the original jpanel. if so, the answer is yes. for instance, i can add a JLabel to the original instance of the active panel when i start the application; but then, when i click the button that invokes the welcome handler, the panel clears, but does not display the new information (unless i do something to cause the panel to repaint).

are you suggesting that i add the jpanel to the jframe again after i invoke the setPanel method?

thanks for such a quick response.
PhillyRunner is offline   Reply With Quote