个粉红色的窗口,单击关闭按钮,可关闭窗口。请填完整程序。 import java.awt.*; importjava.awt.event.*; public class Testppp { public static void main(String args[ ]) { Frame. fr=new Frame("The Adapter!”); TheAdapterTest tat=new TheAdapterTest(); fr 【 】 fr.setSize(200,200); fr.setBackground(Color.pink); fr.setVisible(true); } } class TheAdapterTest extends WindowAdapter } public void windowClosing(WindowEvent e) { System.exit(1); } }