NEWT, a simple Java editor
What is NEWT?
Newt is a simple environment for programming Java applets.
|| All the applets on
this site have been made with NEWT.
Advantages of NEWT:
- It's free.
- It's small.
- It's lightning-fast.
- It uses minimal system resources
How to use NEWT?
1. Only once you have to make a batchfile
which serves to ...
- make the path point to the bin directory
of the JDK
- to make the folder with your applets into the present
- to start COMMAND.COM
Then give this batchfile a sensible name, such as
STARTJAVA.BAT. (Never use the name
Two examples of such a batchfile:
2. Making a new applet (e.g. MyFirst.class):
- Start batchfile (see no. 1). You get into the
applets folder in the "command-mode"
- Type the following command:
NEWT.EXE will now make 6 files:
- MyFirst.java, the beginning of an applet.
- JE.BAT used to edit MyFirst.java.
- JC.BAT used to compile MyFirst.java.
- MyFirst.html, a rudimentary HTML-file (needed by
- HT.BAT used to edit MyFirst.html
- AV.BAT used to show the applet by means of Appletviewer
Editing is done by:
Compiling is done by:
Editing the html file is done by:
The applet can be seen with:
Can I open an existing java file?
If you type NEWT with the name of an existing Java file, the existing Java file
will not be overwritten, neither will an existing html file (if such a file
Where to put NEWT?
The best location for NEWT.EXE is the
BIN-directory of the JDK-installation.
Menu Java Tutorial