Chapter 10. Graphics and user interfaces
Introduction to the awt and Swing
The real world has been converted to wysiwyg
 and GUI
 interfaces, and Java is fully equipped to provide these options. The GUI part is provided inside two packages called
java.awt – abstract windowing toolkit – and
javax.swing. From now on we will call them the awt (pronounced ‘ought’) package and Swing, and know that they are Java’s platform-independent approach to user interfacing.
These packages are also completely driven from within the Java language. That means that any graphical ...