Source of Test.java


  1: //import java.awt.*;
  2: import javax.swing.*;
  3: class Test
  4: {
  5:      public static void main(String[] args)
  6:      {
  7:          JFrame app = new JFrame("MyApp");
  8:          app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  9:          app.setSize(100, 100);
 10:          app.setVisible(true);
 11:      }
 12: }