what is AWT

Answers were Sorted based on User's Feedback



what is AWT ..

Answer / k.sharada

Abstract Window Tool kit

Is This Answer Correct ?    7 Yes 2 No

what is AWT ..

Answer / satyveerchauhan125

What is AWT?
he Abstract Windowing Toolkit (AWT) is Java's platform-
independent windowing, graphics, and user-interface widget
toolkit. The AWT is part of the Java Foundation Classes
(JFC) - the standard API for providing a graphical user
interface (GUI) for a Java program.

When Java was released, AWT was heavily criticized as one of
the weakest components of Java. The basic flaw was that AWT
provided only a very thin level of abstraction over the
underlying native user interface. For example, creating an
AWT check box would cause AWT to directly call the
underlying native subroutine that created a check box.
Unfortunately, a check box on Windows is not quite the same
as a check box on MacOS or the various types of UNIX.

This poor design choice made life difficult for programmers
trying to adhere to Java's "write once, run anywhere" motto,
since AWT did not guarantee precisely how their application
would look on all computer platforms. An AWT application
that might look great on a Windows PC would turn out to be
an unusable mess on a Macintosh system, and vice versa. A
popular joke among programmers in the 1990s was that Java's
real motto was "write once, test everywhere." One of the
reasonable causes of this mediocrity is said to be that AWT
was conceptualized and implemented in only one month.

In J2SE 1.2, the AWT's widgets were largely superseded by
those of the Swing toolkit. Swing avoids the problems of AWT
by drawing its own widgets (by calling into low-level
subroutines in the local graphics subsystem), instead of
relying on the operating system's high-level user interface
module.

Is This Answer Correct ?    1 Yes 1 No

what is AWT ..

Answer / kaiwalya

active window tool

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More Core Java Interview Questions

Explain about fail fast iterators in java?

0 Answers  


What is the final blank variable?

0 Answers  


What is compareto () in java?

0 Answers  


In the below example, how many string objects are created?

0 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  






is set interface synchronized by default???

2 Answers   Manhattan,


Can we declare static variables in JSP page.

3 Answers   TCS,


What is difference between path and classpath?

0 Answers  


What is the difference between the synchronized() & static synchronized()?

2 Answers   HP, SparkTG,


Name the class that used to read objects directly from a stream?

4 Answers   Wipro,


How do you check if an arraylist is not empty?

0 Answers  


How many bytes are there?

0 Answers  


Categories