xhtml
 

Development using Two Windows

An alternative to just using commands is to use two windows. This involves having an editor window and a compiler window, and switching between them. In one window, your favourite editor is running, with the program permanently loaded into it. The other window is a shell window in which you issue the javac and java (and possibly jdb) commands. In Unix, to get an editor window to run permanently, use an & character at the end of the line:

> jedit Prog.java &    ( run editor in separate window )
> javac Prog.java      ( use the shell for compiling/running )
...

The development cycle is:

The main features of this approach are: