Source of FirstWindowDemo.java


  1: /**
  2:  A simple demonstration of using a window class. To see
  3:  both windows you will probably have to move the top window.
  4: */
  5: public class FirstWindowDemo
  6: {
  7:     public static void main(String[] args)
  8:     {
  9:         FirstWindow window1 = new FirstWindow( );
 10:         window1.setVisible(true);
 11: 
 12:         FirstWindow window2 = new FirstWindow( );
 13:         window2.setVisible(true);
 14:     }
 15: }