|
|
hello.java.cd pic20a.javac hello.java to compile your program. This will create the file hello.classjava hello to run your application. Note that you do not type .class after the filename.<applet code="hello.class" width=100 height=100>. Note you can change the width and height to whatever size you like. Save it as hello.htmlappletviewer hello.html to view the applet.Sun Microsystems has an excellent Java reference page (http://java.sun.com/products/jdk/1.2/docs/api/index.html) which details every method and field of every built-in class.
|
|
||
|
Feedback PIC Lab home |
UCLA Department of Mathematics Program in Computing - PIC Lab 2817 Boelter Hall / 310-825-7267 |
|
|
This page last updated:
July 03, 2001
|
||