import javax.swing.JFrame; /** * * @author Client */ public class TestImage { /** * @param args the command line arguments */ public static void main(String[] args) { Frame f = new Frame(); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } }