import java.awt.Frame; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; public class Main { public static void main(String[] args) { Frame frame = new Frame(); frame.setTitle("액자"); frame.setBounds(100, 100, 600, 400); frame.setVisible(true); // Frame frame2 = new Frame(); // frame2.setTitle("액자2"); // frame2.setBounds(150, 150, 640, 4..