问题描述:
    启动程序,弹出一个Frame1
     我在这个Frame1中new了另外一个Frame2,
    我想把Frame2关闭但是不关闭整个程序该用什么方法?
     system.exit(0);就把整个程序都关掉了,这不是我要的