PPL Introduction to Applet/Application Homework

  • Write a simple application which prints out your name
  • Write a simple applet which displays your name
    usage of javac:
    javac file.java (remember you should save your class in a file named same with class)

    usage of java:
    java file (file is the class compiled by javac,you should see file.class in current directory)

    usage of appletviewer:
    appletviewer file.html (this html document should contain applet tag with code parameter to your applet.class)

    updated 28/10/2002 - 15:54 by Sadi Evren SEKER