Java Reference
In-Depth Information
Figure 1.2
The steps to create and run a Java standalone application program.
The Swedish Institute of Space Physics uses a Java program to collect and
view data from infrasound (acoustic waves in the 0.1-25 Hz range) detectors
distributed in the north of the country. The infrasound system can detect distant
events such as Shuttle launches and meteors [6].
The open source program BioJava, developed at the Sanger Institute in
Great Britain, provides researchers in the field of bioinformatics with an exten-
sive toolkit for manipulating genomic sequences [7]. The large program (over
1200 classes and interfaces) is now used at major laboratories around the
world [8].
The Web Course provides a resource section with links to sites that describe
many other applications of Java in science and engineering. There are also links
to Java programming tools in numerical computing, data analysis, image process-
ing, and other areas. In addition, we link to a small sample of the thousands of
applets available on the Web that use Java graphics and animation techniques to
demonstrate scientific principles and complex systems. Such simulations provide
powerful tools for teaching technical subjects.
1.7 The Java programming procedure
Figure 1.2 illustrates the basic steps to create and run a Java
application
,as
standalone Java programs are called. You first create the source code with a text
editor and save it to a file with a
“
.java
„
file extension appended to the name.
Here the file
HelloWorldApp.java
is created. The file name must exactly
match the class name in both spelling and case. (We define
class
in Chapter 3.)
Search WWH ::
Custom Search