Opening and Modifying Projects

There are four ways to open an existing project:

  •  by selecting the menu item "Open" in the Project menu (Project->Open),
  •  by clicking the icon in the icon bar,
  •  selecting the menu item "Open" in the context menu of the workspace (selectable using the right mouse button),
  •  by using the keyboard shortcut [Ctrl]+[O].
Now a file selector dialog gets displayed, which allows you to select and open a JControl project file (file extension ".jcp"). Following, the name of the opened project appears in the workspace.

To change a project's properties, there are two options. Both require the desired project to be selected in the workspace first. Then the properties dialog can be opened either by

  •  selecting the menu item "Properties" from the Project menu (Project->Properties),
  •  by selecting the menu item "Open" in the context menu of the workspace (selectable using the right mouse button).

The now opened dialog shows a list of the main property categories on the left side. This includes Info, Main class, Select device, and Libraries. By clicking on one of these categories, the corresponding properties will be displayed on the right side of the dialog.

Figure 5: General Project Information

The category Info collects general project settings, such as the the project location, the project name and the projected size on the target device (fig. 5). The project name can be changed by the user. Changing the project name here will not modify the project's file name (cp. Rename)

Figure 6: Choosing the Main Class

In the category Main class, the class to be executed on starting the simulator or the JControl device can be selected (fig. 6). This class requires a static main() method. Furthermore parameters for the main() method can be specified here.
NOTE: An alternative way to pick a main class is by selecting it in the navigation panel and choosing the menu item Main class from its context menu.

Figure 7: Die Geräteauswhl

By picking category Select device (fig. 7) it is possible to choose the JControl device the project is targeting at. See Create New Projects for details.

Figure 8: Die Bibliotheken des Projekts

In category Libraries user libraries can be added to a project (fig. 8). See Create New Projects for details.