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

Displaying Images

To use Java to display images, you must first get the image, and then you must draw it. The Java Applet class provides methods for getting images, and the Java Graphics class provides methods for drawing them.

Java's Applet class provides two getImage() methods, listed here:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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