Source of Unicode.java


  1: // Fig. F.4: Unicode.java
  2: // Display Unicode.
  3: import javax.swing.JFrame;
  4: 
  5: public class Unicode
  6: {
  7:    public static void main( String args[] )
  8:    { 
  9:       UnicodeJFrame unicodeJFrame = new UnicodeJFrame();
 10:       unicodeJFrame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
 11:       unicodeJFrame.setSize( 350, 250 );
 12:       unicodeJFrame.setVisible( true );
 13:    } // end method main
 14: } // end class Unicode
 15: 
 16: 
 17: 
 18: /**************************************************************************
 19:  * (C) Copyright 1992-2005 by Deitel & Associates, Inc. and               *
 20:  * Pearson Education, Inc. All Rights Reserved.                           *
 21:  *                                                                        *
 22:  * DISCLAIMER: The authors and publisher of this book have used their     *
 23:  * best efforts in preparing the book. These efforts include the          *
 24:  * development, research, and testing of the theories and programs        *
 25:  * to determine their effectiveness. The authors and publisher make       *
 26:  * no warranty of any kind, expressed or implied, with regard to these    *
 27:  * programs or to the documentation contained in these books. The authors *
 28:  * and publisher shall not be liable in any event for incidental or       *
 29:  * consequential damages in connection with, or arising out of, the       *
 30:  * furnishing, performance, or use of these programs.                     *
 31:  *************************************************************************/
 32: