Start of Tutorial > Start of Trail > Start of Lesson | Search |
The AWT has changed in three ways:
- The architecture has been improved to make large-scale GUI development more feasible and add to basic functionality that was missing.
- Architectural support has been added for event handling by non-components ("delegation"), data transfer (such as cut-copy-paste), desktop color schemes (to improve consistency of appearance), printing, mouseless operation, component-specific cursors, and lightweight components.
- Method names, arguments, and functionality have been made consistent.
- These changes make it possible for programs such as GUI builders to query components to determine the components' properties. They also make it easier for programmers to learn and use the AWT API.
- Overall quality improvements have been made and new features added.
- For example, image and graphics functionality has improved, with font support made more flexible to accommodate internationalization. The new
PopupMenu
class makes it possible to have a menu that is not attached to a menu bar. The newScrollPane
class makes implementing scrolling areas easy, as well as increasing the speed of scrolling.
Start of Tutorial > Start of Trail > Start of Lesson | Search |