706 Part VI . (Free web host) Programming in Linux Figure
706 Part VI . Programming in Linux Figure 27-1 illustrates a number of characteristics typical of IDEs. The project view on the left side of the screen provides a project file browser that enables you to see at a glance the contents of the programming project. You can see the primary project folder, HelloWorld, and some of the associated files necessary to support Java projects, such as the default package for Java projects and a folder containing the necessary JRE (Java Runtime Environment) files. The code editor view in the center of the screen shows the code for the HelloWorld.java program. Although it isn t visible in the black-and-white figure produced for this book, the code editor performs on-the-fly syntax highlight using color and font-style changes. Java keywords are purple; plain comments appear in green; javadoc-style comments appear in a pale blue; strings are colored blue; and normal code is black. The right side of Eclipse displays another feature common among IDEs, a class browser. Class browsers enable developers to see the structure of their programs from the point of view of the code modules that make up the program rather than as mere files in a directory. This feature is not terribly useful for a small program such as HelloWorld.java, but larger programs that consist of dozens of classes or code modules are much easier to navigate using a code or class browser. The bottom of the screen shows various information and status windows. For example, the Problems view shows problems that might have occurred while compiling the program. Eclipse, like many other IDEs, enables you to double-click on an error in the Problems view to jump right to the error in the associated code file (see Figure 27-2). Figure 27-2: Eclipse s Problems view. The Javadoc view, which is unique to the Eclipse Java development plug-in, enables you to view the output of Javadoc, a tool that creates documentation from specially formatted Java source code comments. The Declaration view works in combination with the class browser to show you the complete declaration of methods and data types. The Console view shows the actual output of the Java program. For more information about Eclipse, including download information, visit the Eclipse home page at www.eclipse.org/. Note
In case you need quality webspace to host and run your web applications, try our personal web hosting services.