...另一个类中申明一个JFrame的对象 用对象.dispose();..._百度知道
问题描述: 我又换成 对象.setVisiable(fale);也隐藏不了JFrame......怎么解决?最佳答案: class CCFrame extends JFrame { private JButton btn = new JButton("弹出新窗口"); public CCFrame() { setSize(500,300); setLocationRelativeTo(...更多关于JFrame di