Handy Expressions:

--------------------------------------------------------------------------------
    ChoiceApplet01.java
------------------------------
        javac ChoiceApplet01.java
        java ChoiceApplet01 
        appletviewer TestChoiceApplet01.html
------------------------------
    ChoiceApplet02.java
------------------------------
        javac ChoiceApplet02.java
        java ChoiceApplet02 
        appletviewer TestChoiceApplet02.html
------------------------------
    ChoiceApplet03.java
------------------------------
        javac ChoiceApplet03.java
        java ChoiceApplet03 
        appletviewer TestChoiceApplet03.html
------------------------------
    ChoiceApplet04.java
------------------------------
        javac ChoiceApplet04.java
        java ChoiceApplet04 
        appletviewer TestChoiceApplet04.html
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
Notes on converting events from JDK 1.0 to JDK 1.2
--------------------------------------------------------------------------------
 121 awe173-113  javac -deprecation ChoiceApplet.java 
ChoiceApplet.java:19: Note: The method boolean action(java.awt.Event, java.lang.Object) in class java.awt.Component has been deprecated, and class ChoiceApplet (which is not deprecated) overrides it.
    public boolean action(Event event, Object arg)
                   ^
ChoiceApplet.java:29: Note: The method boolean handleEvent(java.awt.Event) in class java.awt.Component has been deprecated, and class ChoiceApplet (which is not deprecated) overrides it.
    public boolean handleEvent(Event e)
                   ^
ChoiceApplet.java:32: Note: The method boolean handleEvent(java.awt.Event) in class java.awt.Component has been deprecated.
      return super.handleEvent(e);
                              ^
ChoiceApplet.java:41: Note: The method void resize(int, int) in class java.awt.Component has been deprecated.
        theFrame.resize(500,300);
                       ^
ChoiceApplet.java:49: Note: The method boolean handleEvent(java.awt.Event) in class java.awt.Component has been deprecated, and class appletFrame (which is not deprecated) overrides it.
   public boolean handleEvent(Event e)
                  ^
ChoiceApplet.java:53: Note: The method void hide() in class java.awt.Component has been deprecated.
            this.hide();
                     ^
ChoiceApplet.java:58: Note: The method boolean handleEvent(java.awt.Event) in class java.awt.Component has been deprecated.
        else return super.handleEvent(e);
                                     ^
Note: ChoiceApplet.java uses a deprecated API.  Please consult the documentation for a better alternative.
8 warnings
 122 awe173-113  pwd                               /matisse/usr/home/gmv/mirror/cool1/incoming/book-java-fundamentals/Chapter.10
/matisse/usr/home/gmv/mirror/cool1/incoming/book-java-fundamentals/Chapter.10
 123 awe173-113  date                              /matisse/usr/home/gmv/mirror/cool1/incoming/book-java-fundamentals/Chapter.10
Wed Jul  2 14:30:57 PDT 1997
