javac
, java
, and all Java commands
on the Burrow, are located in /l/java/bin
. I recommend
either placing this directory in your Unix default PATH
environment variable, or creating an alias in your .cshrc
file to do so when needed, eg:
alias +java 'set path = ( $path /l/java/bin )'
appletviewer
, Netscape
(netscape
) and HotJava (hotjava
).
Do they all work? Do you detect any differences?
init
, update
, paint
,
start
, stop
and destroy
methods. Refer to the API
User's Guide for their proper usage. Each method should contain
only a single print statement to indicate the method was invoked, eg:
Compile your applet and run it withpublic void init() { System.out.println("Running init ..."); }
appletviewer
and Netscape.
paint
to be invoked?
start
get invoked?
stop
?
showStatus()
instead of System.out.println()
?
mouseEnter
, mouseExit
,
mouseDown
, mouseUp
, mouseDrag
,
mouseMove
, gotFocus
, lostFocus
,
keyDown
and keyUp
methods
with simple print statements as before. Refer to the
API User's Guide
for their proper usage. Make sure the non-void
methods
return an appropriate value. Compile your applet and run it with
appletviewer
and Netscape.