There are several ways how can save the current document. The focus of the current editor frame descides which document will be saved. You have four ways how to save a document.
Table 1.3.
Description | Shortcut | |
---|---|---|
![]() |
Using the icon save in the toolbar. Saves the current document to a file.If the file has not been saved before a save dialog will be opened, so that you can choose the directory and the filename. | ctrl + S |
![]() |
Using the menuitem | in the menu: Save the current document to a file. If the file has not been saved before a save dialog will be opened, so that you can choose the directory and the filename.|
![]() |
Using the menuitem | in the menu: Save the current document to a file. The save dialog will be opened, so that you can choose the directory and the filename.|
![]() |
Using the menuitem | in the menu: Saves all open and modified documents using the method for editor frames.|
![]() |
Using the compile functionality . |
If you are saving the document for the first time, the current file name is
new.java
,
EJE™
tries to find a suitable filename for it.
EJE™
analyses the content of the current editor and looks for a public class containg a
main-
method. If there is no suitable classname
EJE™
will complain about this. In each case a dialog will be opened where you can choose the location and
filename you want use.
If
EJE™
ist complaining about the classname, have a look at the class again. Sometimes this message is
produced by a miss spelling of the
main
-Method. Keep in mind that Java is case-sensitive.