Home arrow Java & J2EE arrow Page 2 - Using Abstract Windowing Toolkit (AWT) In Applications

Read On….Its Not That Abstract - Java

A well laid out user interface is an effective means of making applications user-friendly. It is typically used by organizations for accepting orders from customers, getting customer’s feedback on a product, for conducting a market survey on the latest trends in economy.

  1. Using Abstract Windowing Toolkit (AWT) In Applications
  2. Read On….Its Not That Abstract
  3. Your Best Buddies….Java’s AWT
  4. Features Of The Component Class
  5. What Holds Components Together…The Container
  6. How To Talk To Your Application
By: Gayathri Gokul
Rating: starstarstarstarstar / 10
September 29, 2003

print this article


Abstract Windowing Toolkit:
The Abstract Windowing Toolkit (AWT) is a package that provides an integrated set of classes that enable you to create a graphical user interface and receive user input from mouse and keyboard. Because Java is a platform–independent language, the AWT offers a way to design an interface that will have the same general appearance and functionality on all systems it runs on.

Using the AWT, a user interface consists of three things:

•Components: Anything that can be put onto user interface including components like windows, buttons, check boxes, dialog boxes, lists, menus, scrollbars, and text fields. The Component class, which implements the common functionality, is the super class for all graphical interface elements.

•Container: A component that can contain other components. A classic example is the Applet window and others include panel, dialog boxes, standalone windows.

•Layout Manager: An object that defines how the components in a container will be arranged. You don’t see the Layout Manager in an interface, but you definitely see the results of its work on the look and feel of your GUI.

The AWT’s classes are all part of the java.awt package. To make all of its classes available in a program, the following statement can be used at the top of a source code file.Import java.awt.*;
This imports the entire components, containers and layout manager that you will use to design an interface. You can also use individual import statements with the classes you are using in a program. The AWT’s classes like all parts of the Java class library are arranged into inheritance hierarchy.

>>> More Java & J2EE Articles          >>> More By Gayathri Gokul

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- More Java Bugs Lead to More Attacks
- Oracle's Java One Brings News, Surprises
- Oracle Patches Java Runtime Environment
- Apple Syncs Java Update with Oracle
- Spring 3.1 Java Development Framework Compat...
- Jelastic Java PaaS Availability and Pricing ...
- NetBeans 7.1 Released, Supports JavaFX 2
- SolarWinds Releases Newest Version of Java M...
- Free Monitoring Tool for Java Apps on Heroku
- Heroku Adds JCloud Platform Support, Java 7 ...
- Java SE 8 Speculation in Full Swing
- Java SE 7 Now Available
- New JVM Language and Java Reporting Tool
- Java 7 Release Update and New Eclipse Toolkit
- The Best Java Netbeans IDE Plugins

Developer Shed Affiliates


Dev Shed Tutorial Topics: