When you start Cosmo Code, you see the Projects card displaying all projects known to Cosmo Code.
The Project panel displays projects (Java applications, applets or packages) that have been created in or converted into Cosmo Code.
Double-click a project to open it. The name of the open project is displayed above the Source panel in Project field, and the project's files are displayed in the File panel.
Item | Description |
Open | Opens the project, allowing you to browse, edit, and debug it. |
Info... | Opens a dialog that tells you the project type (applet, application, or package) and its path. |
Delete | Deletes the project. Deletes all project files from disk. If you created the directory containing the project within Cosmo Code, and the directory contains only project files, the directory is also deleted from disk. |
The File panel displays all the files contained in the project. If your project contains subdirectories, the files in the subdirectories are also displayed in the File panel.
Files can be viewed as icons, as a list, or as columns. To change the way files are displayed, use the View menu. For example, if you want to see the pathnames of files in the directory, choose View > As List.
Double-clicking on a file that is one of the file types in the table below launches an appropriate application for the file.
File Type | Double-click Action |
.vb | Launches the visual builder. |
.java | Displays the file in the Source panel. |
.html or .htm | Launches the HTML editor that has been installed and set up for your desktop. |
.au | Launches the audio application that has been installed and set up for your desktop. |
.snd | Launches the audio application that has been installed and set up for your desktop. |
.gif | Launches the image-viewer/editor application that has been installed and set up for your desktop. |
.jpg or .jpeg | Launches the image-viewer/editor application that has been installed and set up for your desktop. |
The right button menu of a selected file offers the following options:
Menu Item | Description |
Open | Opens the file in the appropriate application. |
Info... | Opens a dialog that shows the pathname for the file and the file type. |
Remove (from project) | Removes the file from the project, but does not delete it from disk. |
Guide to the Cosmo Code Development Environment
12-96*209