import javax.swing.*; class Frame1 extends JFrame { public static void main(String s[]) { JFrame frame=new JFrame(); frame.setSize(200,200); frame.setVisible(true); frame.setDefaultCloseOperation(EXIT_ON_CLOSE); } }
Output
Post a Comment
No comments:
Post a Comment