Java Swing Tutorials - Herong's Tutorial Examples - 4.30, by Dr. Herong Yang
JFrame - Main Frame Class
This chapter provides tutorial notes and example codes on JFrame class. Topics include creating frames with sizes and locations; terminating program with its frame is closed; Listing AWT threads; displaying Chinese character on frames; drawing graphics on frames.
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