The classes needed for the development of graphics applications with the Abstract Window Toolkit (AWT) library are presented. The different ways of distributing components inside containers are explained, both manually and by using layout managers. The event concept and how to capture events are explained. The steps for creating dropdown menu bars, and context menus (popup) are shown. Then, the presentation of the graphical interfaces are improved by using some features such as color, fonts, text, drawings, and the inclusion of icons and sounds. Finally, the Swing library is introduced, showing the main differences with respect to AWT, as well as the steps needed to migrate from AWT to Swing.