Advanced Web Publishing X52.9749
Java: March 29, 1998
Bibliography
-
Corporate Java sites:
Sun,
Netscape,
Microsoft.
- Lawsuit sites:
Sun
vs.
Microsoft.
- O'Reilly has lots of
Java books.
Here's
the one I read.
- The
World Wide Web Consortium's
documentation for
HTML tags:
- The NYU
Java course.
The big picture
Two
weeks ago,
we saw that JavaScript objects have methods and properties:
document.write("hello")
document.lastModified
Similarly,
Java objects have methods and instance variables:
g.drawString("hello", 10, 20)
Color.blue
C++ has them too, but they're called
member functions and data members, respectively.
Examples of applets that you can write
- Write, compile, and chmod
the simplest possible Java
applet
and put it your web page.
- An applet with a
variable
(vs.
a JavaScript program
with a variable).
- Give
"command line arguments"
to an applet with the
<PARAM>
tag.
- An applet with
more than one method.
- A
mouse listener.
- A
digital clock.
- Download
the precompiled bytecode of someone else's applet.
- A rudimentary
chat room.