Key Concepts

To work in the IDE, you will need to be familiar with these concepts:

Templates

To begin a new project, first select a template for the kind of object you want to create. The template determines the initial appearance and behavior of the object, thus reducing the amount of time and effort involved in creating your application. Java components, such as Swing and AWT containers, are provided as standard templates. Templates are also provided for applets, classes, dialog boxes, HTML files, text files, and bookmarks. To open the Template Chooser, choose File New. In addition to choosing a template, you should also provide a name for the new object you are creating and a package name. You can then add that package to the filesystem.

Filesystems

In the IDE, the Filesystem pane shows a hierarchical organization of the Java classpath and its directories. By following each node in the Explorer window down to its lowest level, you can see which objects, classes, methods, or files exist in a particular directory within the classpath. When you work in a particular project, you can go to the Filesystems pane in the Explorer window and expand a filesystem node to view the objects contained within it. Select an item and right-click to view an object's properties, modify them, change the object itself, and more.

Modules

The IDE is built entirely from modules, independent pieces of software that are compiled separately. Even features central to the environment, such as the Source Editor, debugger, and Form Editor, are modules. You can expand this modular structure with extensions. View the modules currently installed in your environment by choosing Tools Options to open the Options window. Then expand the Modules node to see the list of modules. Right-click a module and choose Properties from the contextual menu to view or edit properties. Every module in the IDE can be customized to better suit your needs.

Projects

When you work in the IDE, you are working on a project, which organizes the files required to produce an applet or an application. When you organize your files into a project, you can operate on them as a whole. For example, when you compile a project, you compile all of the Java source files in it. You create and manage projects using the Project menu in the main window. To view the files in the current project, click the Project tab in the Explorer window.

For each project, you can specify a set of attributes, such as which compiler and debugger types to use. You can set attributes in the Project Settings dialog box, which is available from the Projects menu.

See also
A Tour of the IDE
Filesystems
Managing Objects in the IDE
Configuring the IDE

Legal Notices