这个问题在这里已有答案:
How to remove JButton from JFrame from inside JButton's ActionListener? 2个答案
How can I remove JButton from JFrame? 4个答案
萨拉姆到我要删除按钮时我想要删除它我不想禁用它我只想按下时从JFrame中删除整个按钮 . 谢谢