Running
Editor uses tools.jar in java lib directory.
If tools.jar is in "c:\java\lib\tools.jar" then the execution command will be
java -classpath "c:\java\lib\tools.jar";editor.jar editor.Editor for windows.
About
Editor Built 20050516
Main Menu
File|New
Create a new file
File|Open
Open a new file
File|Save
Save the file.
File|Save As
Save the file as another name.
File|Print
Print the file.
Note:
Please note that editor cannot print on some printer.
These printers are those that cannot print ASCII characters without using a OS driver.
i.e When you write ASCII characters to the printer, it will not print.
File|Save All
Save all current opened files
File|Close
Close the file.
Edit|Undo
Undo the last change.
Edit|Copy
Copy currently selected text.
Edit|Cut
Cut currently selected text.
Edit|Paste
Paste text to the frame.
Edit|Select All
Select all text.
Edit|Find
Show the find dialog.
Edit|Replace
Show the replace dialog.
Edit|Goto Line
Show the goto line dialog.
View|Refresh
Refresh the current frame to update the syntax highlighting.
Project|New
Create a new project
Project|Open
Open a project
Project|Save
Save project
You should not need to use this function as all changes made are automatically saved.
This options might be removed in future version.
If you discover a situation where the project is not automatically saved, please tell me.
Project|Save As
Save the project as another name
Project|Build
Build the project.
Editor will create a file ~temp~.tmp on the project directory. Please ensure that you
do not use this file for other purposes.
Project|Run
Run the project.
Project|Compile Options
Show the compile options dialog box.
You can set various javac options with this dialog box.
Project|Project Manager
Show the project manager pane.
You can add, remove files, set main file on the project pane.
Right click to show the menu.
Double click on a filename to edit that file.
Compile|Compile
Compile current file.
Compile|Run
Run current file.
Debug|Start
Start the debugging process.
Debug|Step Into
Step into next line of code.
Debug|Step Over
Goto the next line of code.
Debug|Stop
Stop the debugging process.
Note:You can only debug files that are included in the current project.
Debug|Set/Clear Breakpoint
Set the breakpoint at the current line, or clear it if it is set.
Note:
Please note that breakpoints will only affect files that are in the current project.
Non-project files breakpoints will still be highlighted, but it will not affect in any way.
Window|Window Manager
Show the window manager dialog box which show all currently opened file.
Double click on the the filename to goto that file.
Window|Show Previous Window
Show the previous editing file.
Window|Show Next Window
Show the next editing file.
Preference|Set preference
Set the editor preference.
For the field "Help Command" you can display the java help file in winhelp format if the platform is Windows.
Example "hh [help file with full path and filename]" or "winhelp [help file with full path and filename]"
You can download it from http://www.allimant.org/javadoc/indexe.html
type help "filename" or hh "filename"
I do not know how to do it in other platforms. If anyone knows how to do it please tell me how to do it.
Preference|Save preference
Save preference
Help|Editor Help
Show this file
Help|Java Help
Show the java help file if it is set in the editor preference.
Reminders
- When you debug, reminder to check the source,Local Vars, Line checkbox in compile options.
- Must set the path for java SDK in the [Preference|Set Preferences]. For example if the java SDK is installed in "c:\java" then the path should be "c:\java\bin".
- Please do not edit the .prj and .ini files, there is only minimum error checking in the porgramme, do not know what will happen.
Limitations
- I had tested this programme in the windows platform only, so I do not know if it will work in other platform.
- Please do not have a ~temp~.tmp file in the directory where the source file are stored.
Editor uses this file during building of a project.
- Editor is slow when loading a file.
- Can only recognise breakpoints with respect to project directory
- java.exe options only support -classpath options, classpath is the same as compile classpath options
- The printer must be able to print from input ASCII stream in order for the program to be able to print.
For example, my Xerox Phaser 3110 is unable to print.
History
Build 20050516
- Fixed the UI problem where the caret cannot be seen at the end of a very long line
Build 20050515
- The text line now no longer wrap
- When running main file, you can specify the arguments. CTRL+ALT+F9 for project file and CTRL+ALT+R for individual file
Build 20050120
Build 20041217
- Fixed a bug that resulted in failure to compile when directory had spaces in it
- Fixed a bug where the temp file is not deleted because of the update in version 20041210
Build 20041215
- Fixed a bug in the goto dialog
Build 20041210
- Changed the source code, rearranaged some directory structure.
- The editor will now open maximzed.
Build 20041109
- Correct a mistake in roject panel, double clicking top node will open last file opened. Fixed.
Build 20041026
- Correct a mistake in debug, something to do with the construction of classpath. It seem that starting from version 1.5, it cannot accept relative filename like ".\test.jar"
Build 20041022
- The syntax highlighting will correctly highlight a long integer
- Add the options to get serial ver. id for project files.
Build 20041021
- Major changes to the source code to version 1.5
- Made compiling to other source version compatible with version 1.5 javac.exe
Build 20041020
- The project panel can be dragged to minimum size.
- Can add more than one classpath (jar files) using the dialog box. Just enable the JFileChooser options to do so.
Build 20041019
- Changed the project panel to use tree. Neater that way.
Build 20040803
- Fixed a bug where user cannot save a file when creating a new file. (menu items not enabled)
- Added column no. display
Build 20040705
- Fixed a bug in Find and replace dialog.
Build 20040622
Major changes made
- The debugging process now uses JDPA instead of jdb.
- Fixed the bug that failed to highlight a line when the editing pane is not in focus.
Build 20040306
- Compile options now support java version 1.5 options
Build 20031205
- Now when using the window manager to display file, the textpane will get focus.
- When opening new file, it will get focus.
- Highlighted line is now not selected for editing.
Build 20031204
- Fixed the bug that show failed to open file when double clicking on error message.
- Fixed the bug that failed to update the title of the tabbed pane when saveAs().
- Fixed the bug of previous and next frame.
Build 20031203
- Changed all internal frames to tabbed layout.
Build 20031130
- Added the options to find from start or current position(default).
- In Find and replace, after replace, it will immediately find the next position (if there is any)
- The first argument will be accepted as java (.java) file or project (.prj) file and open it, else ignore.
Build 20031119
- Fixed the bug that failed to show the popup menu in project panel
when there are no files in the project.
Build 20031107
- Fixed the bug that the popup menu display at the end of screen.
- Changed the short cut keys for menu.
Build 20031004
- Fixed the bug in failure to remove a file from the project panel.
Build 20030826
- Fixed the bug in setting the main file as a result of changes in Build 20030817
Build 20030817
- Changed the project panel. It will no longer show the full path.
Relative path to the project directory is shown instead. This is to reduce the display area.
Build 20030702
- Changed the algorithm to highlight the text. It is now faster than the previous version. However
when inserting "/*" and "*/", it will be slow.
Build 20030615
- Changed the find dialog to non modal
Build 20030604
- Fixed the bug that failed to load project in Linux
- Changed the short cut key for next window and previous window.
Build 20030530
- Allow you to specify the path where the java bin directory is. Set it in the preferences directory.
- Run, compile and debug will now shows the full command.
Build 20030517
- The syntax is more accurate for block comment.
- Fixed the bug where when you save the file, extra characters are added.
- Updated the Find dialog, now it will automatically select the text when the dialog gained focus.
Build 20030224
- The syntax is more accurate for block comment.
Build 20030223
- Changed the algorihtm to syntax highlight the text. It is now much faster
- The find dialog and the replace dialog will not clear their input fields after closing them.
Build 20030129
- The input text field in the run and debug dialog would be cleared after sending it.
Build 20030125
- Added ability to enter command for jdb in the debug dialog.
- Added ability to enter text to stdin through the run dialog.
- Changed the appearance of run dialog and debug dialog
Build 20030117
- Fixed the bug in converting tab to spaces.
- Fixed the bug in finding text.
- Fixed the bug in goto line.
- Moved the project manager to the side instead of a dialog.
Build 20030115
- Adding a file to a project will start from project directory
- Fixed problem of undo
In previous version you must undo a few time before you can undo.
I used a brute force method to solve this, may not work with future version of java.
Build 20030111
- Fixed the bug the in JCheckBoxMenuItem of project manager and window manager
Build 20030111
- Fixed the bug the that failed to save changes made to the help command.
- Project manager will be shown when you open a project
- Project manager and window manager are now checkbox menu item, it will toggle between showing and hiding the managers
- Project manager will not be hidden when you select a file from it.
Build 20030103
- The first version available for download.