15.07.2013 Views

jgrasp handbook

jgrasp handbook

jgrasp handbook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.2 Saving a File<br />

DRAFT, February 18, 2003, Page 17<br />

Save the program as "Hello.java" by clicking the Save icon on the tool bar of the CSD Window, or you can<br />

click File -- Save on the CSD Window menu (not the Desk Top menu). Note, in Java, the file name must<br />

match the class name (i.e., class Hello must be saved as Hello.java).<br />

Figure 6. Saving a file from the CSD Window<br />

After you click on Save, the Save dialog box<br />

come up as illustrated in Figure 14.<br />

After the program has been saved, it will be<br />

listed in the browse pane. If the program is not<br />

listed in browse pane, be sure the browse pane<br />

is set to the directory where the file was saved.<br />

Figure 14. Save dialog to name file

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!