2011-02-22 104 views

回答

2

在你的ActionListeners的按钮,你需要这样的代码:

panel.add(another panel containing combo box and buttons) 
panel.revalidate(); 
panel.repaint(); 

panel.remove(the current panel containing the remove button) 
panel.revalidate(); 
panel.repaint();