CSci 101 Java Links
This page may be updated from time to time
-
Instructions for running the Swing Demo in the Linux lab:
-
Open a command shell window and change to the following directory:
> cd ~cs101/javas/javaws
-
Once in the above directory, run the following command:
> ./javaws
-
When the Web Start program comes up, single click on the "SwingSet2" icon,
and then press the Start button. Wait a few moments for the demo to begin.
Note: You can also download the Swing Demo to your own machine by clicking
here.
- All the code in our text Java: An Introduction to
Computer Science & Programming
Second Edition by Walter Savitch. Programs are grouped into
subfolders by chapter number.
-
On-line documentation for Java 1.1
-
And for Java 1.2
-
And for Java 1.3.
- Sun's home page for Java is here.
-
Thinking in Java,
by Bruce Eckel, is widely hailed
as "the best" book on Java. While it's written from a more advanced perspective,
you may find it useful. It's certainly thorough and very well-written.
What's more, you can download it for free!. All 848 pages of it.
-
Look here for instructions on
downloading and installing Java on a PC.
-
Find Fraction.java file here.
-
Find ButtonDemo.java file here.
Last modified: 10-16-2001 by Diane Kramer
Thanks to Fred Green for some of the information on this page.