Click the Start button on the left and away you go!
Quick Tour
Getting Started
Open the Java Console window. Figure 1 shows a Console window
and has information how to open it in your browser.
Then press the Start Jai
button on the left side in this page, below the duke icon. After a few
seconds or more, you should get a new frame Figure
2. If the new frame does not show up, get help in
FAQ.
Follow the instruction in the new frame. The word JLS references
a chapter in the Java Language Specification.
Try to modify all examples and make the test at the end of a level.
If you have a general question to an sample or test then write it into the guest book.
Good luck !!!!
Learn Java on your own
Buy a good Java book, bookmark a web site on the subject and join a Java
chat group. Jai can help you to learn Java easier. It comes with an interactive
interface to the Java library and in its workspace you can play around
with most Java statements.
Modify all Jai examples and write your own sequence of Java statements.
Figure 1. Netscape Java Console.
In Netscape 4.5 the Console is at Menu -> Communicator -> Tools.
In MS-IE 5.0 the Console is at Ansicht->Java Befehlszeile.
If you don't find the menu entry, enable the Java Console in
Extras -> Internetiotionen -> Erweitert -> Microsoft VM.
All output to System.out and System.err goes into the Java Console.
Figure 2. Jai panels and buttons
Description of Jai panels and buttons:
- East Panel:
- A list of examples to select. The chapter numbers in
the examples reference The
Java Language Specification.
- North Panel:
- Button panel.
- Do It.
- Execute the selected statements and show the last result.
- Print
- Do It and print the result to the Java Console.
- Inspect
- Same as 'Do It' plus browse the result. You can look at primitive types,
reference types, class names and values. Inspect has special features to
show arrays and enumerations.
- Variables
- List all 'global' variables.
- Threads
- Show all threads (separate processes, similar to subprograms) in the
Java VM (Virtual Machine).
- Center Panel:
- The Workplace.
Figure 3. Jai Variables Display.
What you can and can't test with Jai
Can test: All calls to the java class library and many statements in a method
body (green).
for (int i=0; i<10; i++) {
System.out.println("Hello World! "+i);
}
Can't test: All kinds of type creation like class, interface and methods (red).
class HelloWorld {
public static void main(String argv[]) {
System.out.println("HelloWorld!");
}
}
Java API (Application Programming Interface)
See example Api inside Jai.
Links
JLS The Java Language Specification Adisson-Wesley Book
JavaSoft Java news, Forum
JGuru.com
NoWebPatents.org
Contact