(C) 2010 Pearson Education, Inc. All rights reserved. Class Graphics (from package java.awt) provides various methods for drawing text and shapes onto.
Swing Hierarchy Swing classes derived from JComponent will be lightweight, written entirely in Java. The top-level Swing windows are heavyweight. They.