answersLogoWhite

0


Best Answer

Swing is technologically more advanced than AWT. It has much more features and functions. It has a richer set of components which can modify and change according to the library. It uses MVC which is Model View Controller Paradigm thus offering a more flexible GUI. Swing also has a built in double Buffering and at the same time is lightweight. It is also one hundred percent java based. And therefore provides icons, and also decorative and attractive borders for components and tool tips.

The only flaw is that not all swing might act like native component. Swing is required to create a Java program. This tool kit is highly complex with its customizable text package and its integrated accessibility support. Since swing is built on a 2D package it can easily enhance all animations and images. And its undo framework thus supporting innumerable editing. Thus swing definitely beats AWT in all ways.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Swing is not a complete replacement for the AWT-it is built on top of the AWT architecture. Swing simply gives you more capable user interface components.

Even though AWT is powerful, there are many compelling reasons as to why Swings is a more successful and preferred choice for UI programmers. They are:

1. Swing has a rich and convenient set of user interface elements.

2. Swing has few dependencies on the underlying platform. This means that it is less prone to platform-specific bugs.

3. Swing gives a consistent user experience across platforms.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Even though AWT is powerful, there are many compelling reasons as to why Swings is a more successful and preferred choice for UI programmers. They are:

1. Swing has a rich and convenient set of user interface elements.

2. Swing has few dependencies on the underlying platform. This means that it is less prone to platform-specific bugs.

3. Swing gives a consistent user experience across platforms.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

javax.swing is a GUI package in Java. The Frame class is an element of the java.awt GUI package.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

1.applet has a life cycle while awt doesn't

2.awt is ued for web based applications whereas awt for window based.

.....garima

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

AWT is much more basic

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the differences between AWT and swing components in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between swing and swing events?

Java Swings is a technology that is used to create User Interface Components using Java. Swing Events are a part of this technology that is used to handle user actions like click of a button or closing the component etc


What are swing components?

Swing Components are elements like a Frame, Button, Panel etc that can be used as part of Java Swings to create User Interfaces.


Why swing is used in java?

Swing is a package in Java which contains tools for building GUI application. Swing is a part of Java's foundation classes.


Why would someone need a Java swing?

Java Swing might be needed by someone because Swing provides a native look and feel that matches the look and feel of several platforms, with more powerful and flexible components than AWT.


Is java swing technology or language?

swing technology


What is light weight component in java and why is it so?

Swing is considered light weight because it is fully implemented in Java, without calling the native operating system for drawing the graphical user interface components


What is swing in advanced java?

Java Swings is a technology using which we can create powerful and light weight User Interface Components. 1. Swing has a rich and convenient set of user interface elements. 2. Swing has few dependencies on the underlying platform. This means that it is less prone to platform-specific bugs. 3. Swing gives a consistent user experience across platforms.


What are the differences between C and Java reference variables?

Java does not have the concept of Reference Variables. We cannot access the memory location where the data is stored in Java.


What is Java Swing Frame?

A top-level window (i.e., a window that is not contained inside another window) is called a frame in Java. The AWT library has a class, called Frame, for this top level. The Swing version of this class is called JFrame and extends the Frame class. The JFrame is one of the few Swing components that is not painted on a canvas. Thus, the decorations (buttons, title bar, icons, and so on) are drawn by the user's windowing system, not by Swing


How do you create a e-passport website using java swing?

You really don't want to do that. Swing is for desktop applications. If you want to create a website, use Java Server Faces or Applets, not Swing.


What is font class in java?

It is a part of swing package.


What are the features of java swing?

Swing is the next-generation GUI toolkit that Sun Microsystems has developed for the Java language. It is essentially a vast component framework built over parts of the older AWT component libraries used in Java 1.0 and 1.1. Swing is written in 100% Java; there are no native calls. Hence, it can run on any platform with a compatible Java virtual machine. 1. It provides Java programmers many new powerful components-- most of which we've been begging for since Java's inception. 2. It gives developers a chance to create a powerful, portable application that can not only target users on any Java-compatible platform, but also target their desired look-and-feel as well. 3. The distribution is easy to learn, but can also be used at varying levels of complexity to curtail to the programmer's wishes.