Java Swing Tutorials - Herong's Tutorial Examples - 4.30, by Dr. Herong Yang
Graphics Environment of the Local System
This chapter provides tutorial notes and example codes on local graphics environment. Topics include java.awt.GraphicsEnvironment class description and example; java.awt.Toolkit class description and example; calculating screen resolution with the default Toolkit object.
Sample programs listed in this chapter have been tested with JDK 1.3.1 to JDK 15 on Windows and macOS computers.
Table of Contents