posted 17 years ago
Im new to GUI and having problem on repainting a panel.
I have 4 classes. Namely, MainFrame(JFrame subclass), NorthPanel(JPanel), CenterPanel(JPanel) and SouthPanel(JPanel).
MainFrame holds the 3 panels(classes) in a BorderLayout.
Now, SouthPanel has a button and an action listener that suppose to repaint the CenterPanel. So how would i call it or repaint repaint the CenterPanel inside the MainFrame? And where should i call the repaint?
I know this is really simple to you guys. Thanks in advance!
Thanks!
[ July 20, 2004: Message edited by: john von ]