2011-02-22 107 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();