Home : Course Map : Chapter 6 : Java : Tech :
Java Graphics & Technical Applications
JavaTech
Course Map
Chapter 6

Introduction
AWT
Swing
Containers
  Demo 1
UI Components
  Demo 2
UI Layout
  Demo 3   Demo 4
Text Display
  Demo 5
Drawing
  Demo 6   Demo 7
Draw Polygons
  Demo 8   Demo 9
Colors
Text Draw 
  Demo 10
Images
  Demo 11
Exercises

    Supplements
AWT
  Demo 1
Drawing
  Demo 2
Text Drawing
  Demo 3
UI Components
  Demo 4

Java2D
Shapes & Areas
  Demo 1   Demo 2
Stroke & Paint
  Demo 3
Transforms
  Demo 4
Gradients&Textures
  Demo 5   Demo 6
Text
  Demo 7   Demo 8
     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

A technical program might employ Java graphics for a number of possible tasks including :

  • Data charting as in a histogram, pie chart, or other arrangement that summarizes the data in some way.

  • Plotting variables against each other as in, for example, a trajectory showing the coordinates of a ballistic projectile in altitude versus horizontal distances.

  • Animating a simulation of some device or physical process.

  • Image processing to bring out features of interest.

A graphical display program would also typically include various control and data entry components to provide a graphical user interface (GUI) that allows the user to interact with the presentation. As we saw in the other sections of this chapter, Java provides lots of tools and components for building such graphical displays and interfaces.

Of course, many other programs also provide for data display and manipulations, why use Java for this?

With Java you can build custom graphical programs for tasks where you can integrate all of the Java features together. For example, an application program to control and monitor a remote experiment via the web could use both the graphical and networking capabilities of Java (see Chapter 13). Other examples include applets for technical demonstrations and interfaces to a database.

Note that you can now obtain libraries, both commercial and freeware, that provide Java classes and visible components for charting, image processing, and other graphics related tasks. However, you will still find it useful to know how to write your own graphics classes for specialized purposes.

 

            Tech
Java Tech Graphics
Starting to Plot
  Demo 1
Drawing Panel
  Demo 2
Histogram Display

  Demo 3
Exercises

           Physics
Display Text Data
  Demo 1
Plot Data
  Demo 2
Find Max/Min
  Demo 3
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.