• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 38. Graphics and Animation > Displaying Graphics

Displaying Graphics

Colorful graphics and animation can change a dull, static, and gray Web page into an exciting and interesting place to visit. Java provides a wide range of tools for building and displaying graphics. These tools are found in Swing (package javax.swing*), the Abstract Windowing Toolkit (AWT) package (java.awt), and especially in the Graphics2D class (java.awt. Graphics2D). Most of what you need is part of the AWT. In fact, the majority of Java's graphics methods are contained in the Graphics class.

→ For more information on the AWT, see "Using the Abstract Windowing Toolkit".


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint