Co-Authored By:
Abstract Window Toolkit (AWT) is a set of application program interfaces ( API s) used by Java programmers to create graphical user interface ( GUI ) objects, such as buttons, scroll bars, and windows. AWT is part of the Java Foundation Classes ( JFC ) from Sun Microsystems, the company that originated Java.
Similarly one may ask, what is AWT example?
AWT stands for Abstract Window Toolkit. It is a platform dependent API for creating Graphical User Interface (GUI) for java programs. Why AWT is platform dependent? For example if you are instantiating a text box in AWT that means you are actually asking OS to create a text box for you.
Similarly, you may ask, what are AWT controls?
AWT Controls are nothing but AWT Components that allows the user to communicate with the user in different ways. It can also be said that interaction with the user will be done based on following three concepts: UI Elements. Layouts.
AWT Components
- Button (java. awt.
- Checkboxes (java. awt.
- Radio Buttons (java. awt.
- Choice Buttons (java. awt.
- Labels (java. awt.
- TextFields (java.awt.TextField) Are areas where the user can enter text.
- An Example Component Application.