Main Editor Window

This is the heart of JEditor, from here you control what functions are going to take place in the Current window.

The Window Explained :
A better description of the actions of these buttons follows later on.

Start a new document - Can be saved as a Java, htm, html or text file.
Open an existing document - Opens an existing Java, htm, html or text file.
Save current document - Saves the file you are working on ( If there is no file name specified, JEditor will ask you for one)
Print current document - Saves a temporary print file, and then prints this file to your printer.
Cut, Copy, Paste - Allows you to perform text editing between text windows.
Find/Replace - Brings up a find/replace dialog for use with the current window.
Browser button, Application button - These buttons bring up a Run dialog box, type in the name of the HTML file or the name of the main class, and that file will run using the settings specified in the Option dialog box.
Compile button - This will compile the current document using the compiler set in the Options dialog box.
Options button - This will bring up a dialog box allowing you to set Compiler, Interpreter, Browser, fonts and colours that JEditor will use.
ProjectManager button - This option will start the Project Manager. If the Project Manager is already open, it will bring the window into focus.
Status bar - On the bottom of the main editor window is a status bar, this bar tells you the current document that is open, what action each button performs when the mouse passes it, and what is happening when a document is loaded, saved, compiled or being indented.

Menu Bar Actions :
File :
New - Will start a new document titled Untitled.
Open - Will bring up a Open Dialog box allowing you load an existing .java, .htm, .html, .txt document.
Save - Allows you to save the current document, if this document is Untitled or a HTML file it will use Save As method of saving.
Save As - Will allow you to save the current document under a different name, it also updates the window title, and all info required to continue using the document under the new name.
HTML Template - This will start a new document titled HTML it is a basic html file that can be used to start an applet, all you have to do is replace the text with the correct file names relating to your Java document.
Print - Saves the current document as print.tmp, and then sends this file to the printer. This option uses the system printer settings, and allows you to select pages, copies etc. depending on your printer software.
Quit - This will check all open projects and documents, confirm any which require saving, and then quit then exit JEditor.
Edit :
Cut - Cuts the hi-lighted text from the current window, allowing you to paste it somewhere else within the same document or paste into a different document, or remove the text permanently.
Copy - Copies the hi-lighted text from the current window, without deleting it, but still allows you the option to paste the text elsewhere within the same document, or in a different document.
Paste - Pastes the text which has just been cut or copied into the position where the cursor is flashing in the current document.
Select All - Hi-lights the whole document allowing it to be copied or deleted.
Find/Replace - Brings up a dialog box allowing you to find or replace text.
Auto-Indenting - This option scans the document, and tidies it up be adding and deleting white spaces.
Options - Brings up the Options dialog box to allow you to set the JEditor environment.
Project :
Project Manager - This option will start the Project Manager, allowing the user manage all the files belonging to a larger project.
Run :
Compiler - Will compile the current document, and report any errors, uses options set in the JEditor Options box.
Compile All - Will compile all the Java files which are in the current working directory. Uses the compiler Options set in the JEditor Options box.
Debugger - Not currently in operation.
Application, Appletviewer, Browser - These options will open the Run dialog box allowing you to specify a main class or HTML file to run the current document using the appropriate program which is set in the JEditor Options dialog box.
Window :

Close All - This option will close all the document windows, after checking that they have been saved.
This option basically allows the user to jump to a document that has previously been opened, it brings the document to the front of the window, displaying it, and making it the current window.

Help :

About - Author details and version number of JEditor.
Help - No obsolete, this option now displays the location where you can obtain this manual.

Return to Using JEditor Menu