Java Reference
In-Depth Information
Fig. 12.6 User entry into
applet FahrToCelsius under
Google Chrome
Fig. 12.7 Final output from applet FahrToCelsius2 under Google Chrome
comparison with the corresponding technique for using class Image , however, it is
appropriate to consider the use of this latter class fi rst…
12.4.1
Using Class Image
Image is an abstract class, so we cannot directly create an instance of this class, but
we can use an Image reference for the image that is downloaded. (To achieve
platform independence, each Java platform provides its own subclass of Image for
Search WWH ::




Custom Search