Java
  Home arrow Java arrow Page 2 - Using Abstract Windowing Toolkit (AWT)...
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Actuate Whitepapers 
VeriSign Whitepapers 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Using Abstract Windowing Toolkit (AWT) In Applications
By: Gayathri Gokul
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2003-09-29

    Table of Contents:
  • Using Abstract Windowing Toolkit (AWT) In Applications
  • Read On….Its Not That Abstract
  • Your Best Buddies….Java’s AWT
  • Features Of The Component Class
  • What Holds Components Together…The Container
  • How To Talk To Your Application

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Using Abstract Windowing Toolkit (AWT) In Applications - Read On….Its Not That Abstract


    (Page 2 of 6 )

    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 Articles
    More By Gayathri Gokul


     

       

    JAVA ARTICLES

    - Adding Images With iTextSharp
    - Adding Columns With iTextSharp
    - Creating Simple PDF Files With iTextSharp
    - The Spring Framework: Understanding IoC
    - Introducing the Spring Framework
    - Java Classes
    - Completing the Syntactic Comparison of Java ...
    - Syntactic Comparison of Java and C/C++
    - Java Statements
    - Conditionals, Expressions and Other Java Ope...
    - Java Operators
    - Primitive Data Types and Basic Language Rule...
    - Java and Object-Oriented Programming
    - Java Beginning Programming
    - Gaming Development Setup





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway