Get up to 80 % extra points for free! More info:

Discussion: Differences between AWT and Swing

In the previous quiz, Online Java Quiz, we tested our experience gained from the course.

Activities
Avatar
Eduke Ohien Stephen:1/27/2017 4:36

Please i need someone to help me differentiate between Awt and Swing

Reply
1/27/2017 4:36
welcome to a world of possibilites
Avatar
Replies to Eduke Ohien Stephen
David Capka Hartinger:1/27/2017 6:54

Both Swing and AWT are old Form frameworks for the Java language. Swing is better to work with and allows you to use "looks and feels" (skins). AWT is "heavy-weight" and harder to work with. However, you should use JavaFX, which is the most modern approach to create form applications in Java.

Up Reply
1/27/2017 6:54
You can walk through a storm and feel the wind but you know you are not the wind.
Avatar
ATUAHENE OPPONG JONES:5/2/2017 13:45

Where possible, AWT uses native components. As in, under Windows it will use Window’s buttons, etc. This is really good for accessibility, because other programs like screen readers and such can interoperate perfectly with these components already. It does mean that extending the functionality of these components, changing the way they look, etc, is next to impossible. Many classes are final, and cannot be subclassed. Because they use the operating system’s native components, they are often limited to the subset of capabilities which are common to all target windowing operating systems. The look and feel is also inconsistent between different operating systems.

Java Swing, on the other hand, uses virtual components, which you can subclass to your heart’s content, and can change their behavior and look. They look and behave identical across all operating systems, and are far more full-featured than the AWT components.
For creating things like rich textfields with emoticons, Swing is the way to go.

Up Reply
5/2/2017 13:45
Technology For Life
Avatar
User has been banned:3/8/2021 8:12

The main difference between AWT and Swing in Java is that AWT is Java's original platform dependent windowing, graphics and user interface widget toolkit while Swing is a GUI widget toolkit for Java that is an extension of AWT.

Visit To Know More : JAVA Training JAVA Training

 
Up Reply
3/8/2021 8:12
Avatar
Bhawna Singh
Member
Avatar
Replies to Eduke Ohien Stephen
Bhawna Singh:6/29/2022 3:37

AWT stands for “Abstract Window Toolkit”. It is an API used to develop window-based applications in Java. This abstract window toolkit comprises various components like the classes, methods, label, text field, button, etc which are used for designing and managing GUI. While swing is a graphical user interface (GUI) and a part of Oracle’s Java Foundation Classes that are used to design different applications. Swing was developed to provide a more advanced set of GUI components like JTextField, JCheckbox, JMenu, etc.

 
Up Reply
6/29/2022 3:37
Avatar
Malayah
Member
Avatar
Malayah:1/5/2023 8:41

This site is all about the details that are interlinked with Last.fm apps and scripts, so if you think this can help then that would be best for many reasons. You all will be able to gather more details on find more web design freelance as that can be of great help here now. Just look into this and you will be able to learn many things. You can also join the forum and find the details that can be shared as well.

 
Up Reply
1/5/2023 8:41
Avatar
Robin Pon
Member
Avatar
Replies to Eduke Ohien Stephen
Robin Pon:9. August 7:01

I decided to try the dog containment systems from Pawious and was pleasantly surprised. I was hesitant to trust such technology for a long time, but the system proved to be extremely reliable and effective. The dog quickly adapted to the new conditions and now I can be confident that he won't stray off our property. I highly recommend it to anyone looking for a convenient and reliable solution to control their pet!

 
Up Reply
9. August 7:01
Avatar
Robin Pon
Member
Avatar
Robin Pon:10. August 16:10

Keeping track of our IT assets was a nightmare until we started using Softinventive’s computer inventory software. Now, we have a clear overview of all the devices in our network, and we can monitor their status in real-time. The software provides comprehensive reports, which are invaluable for our IT department. It's user-friendly, and the level of detail it offers is unmatched. Highly recommended for anyone managing a large network.

 
Up Reply
10. August 16:10
Avatar
Robin Pon
Member
Avatar
Robin Pon:10. August 17:30

Conducting audits used to be a time-consuming process for our IT team until we started using Softinventive’s inventory audit software. This software has streamlined the entire process, from gathering data to generating comprehensive reports. The level of detail it provides is impressive, helping us stay on top of our IT infrastructure. It’s also been invaluable for compliance purposes, ensuring that our inventory is always up to date. Highly recommended for anyone dealing with large-scale IT audits.

 
Up Reply
10. August 17:30
Avatar
Robin Pon
Member
Avatar
Replies to Robin Pon
Robin Pon:10. August 18:07

Softinventive offers the best network discovery tool I’ve ever used. Its speed and accuracy are unparalleled, and it offers a wealth of information that other tools just don’t provide. The interface is intuitive, and the setup is quick and straightforward. Whether you're a network admin or a small business owner, this tool is an invaluable asset.

 
Up Reply
10. August 18:07
Avatar
Robin Pon
Member
Avatar
Robin Pon:12. August 3:51

Living in a sunny area, I needed sun protection for my tesla sun protection. After some research, I found Teslahubs, and I’m so glad I did. The sunshade I purchased fits my Tesla perfectly and does an amazing job of keeping the interior cool and protecting it from UV rays. The installation was simple, and the material feels high-quality and durable. It’s clear that Teslahubs knows what Tesla owners need, and they offer products that meet those needs. I’m very satisfied with my purchase and will definitely buy from them again.

 
Up Reply
12. August 3:51
Avatar
Robin Pon
Member
Avatar
Robin Pon:12. August 5:38

When designing a wooden room for our child, we turned to WoodandRoom for furniture that would match our aesthetic and provide functionality https://woodandroom.net/ The pieces we received exceeded our expectations. The natural wood is beautifully crafted, and the furniture is solid and durable. It has really helped to create a calming and nurturing environment for our child. The attention to detail and the quality of the materials used make WoodandRoom a fantastic choice for anyone looking to create a wooden-themed room.

 
Up Reply
12. August 5:38
Avatar
Robin Pon
Member
Avatar
Robin Pon:12. August 7:07

I recently visited id-protection to get a PPF color applied to my car, and the outcome exceeded my expectations. The color options they offer are amazing, and I was able to find a shade that perfectly matched my vehicle's aesthetic. The installation process was seamless, and the team made sure everything was done to the highest standard. The PPF not only protects my car's paint but also enhances its look with a subtle, yet stylish, touch. The staff at id-protection were friendly and professional, making the whole experience a pleasure. If you’re in Toronto and looking to upgrade your car’s protection and style, id-protection is the place to go.

 
Up Reply
12. August 7:07
Avatar
Robin Pon
Member
Avatar
Robin Pon:12. August 7:34

For manual software testing services, u-tor offers unparalleled expertise. Their team conducted thorough and meticulous testing, identifying issues that automated tools might have missed. The attention to detail and dedication to ensuring our software met high standards was impressive. If you need comprehensive manual testing, u-tor is an excellent choice.

 
Up Reply
12. August 7:34
Avatar
Robin Pon
Member
Avatar
Robin Pon:10. September 10:18

I recently purchased a salt and pepper diamond marquise ring from SevenCarat, and it’s absolutely stunning. The marquise cut really enhances the beauty of the salt and pepper diamond, and the overall design is unique and elegant. My fiancée loved how different it was from traditional rings, and it’s now her favorite piece of jewelry. SevenCarat offers exceptional craftsmanship, and their rings are truly one-of-a-kind.

 
Up Reply
10. September 10:18
Avatar
Robin Pon
Member
Avatar
Robin Pon:14. September 9:49

Если вы ищете отличное онлайн-казино, то gg bet казино — это то, что вам нужно. Я играю здесь уже несколько месяцев и доволен всем: от удобства интерфейса до скорости выплат. Огромный выбор игр, приятные бонусы и надежная поддержка делают это казино лучшим выбором для развлечений.

 
Up Reply
14. September 9:49
Avatar
Robin Pon
Member
Avatar
Robin Pon:14. September 10:39

Наткнулся на ggbet казино промокод и решил воспользоваться шансом. Промокод дал мне дополнительный бонус на счет, который я использовал для игры в слоты. Игры интересные, каждая со своими особенностями и дизайном. Было приятно видеть, как бонусы увеличивают шансы на победу. Выигрыши не огромные, но для меня это больше развлечение. Сайт работает отлично, и деньги вывелись быстро, без задержек.

 
Up Reply
14. September 10:39
Avatar
Robin Pon
Member
Avatar
Robin Pon:20. September 18:17

I was looking for a used Xbox One and came across Rakerock. The condition was excellent, and it came with all the necessary accessories. The performance has been outstanding, and I’m very happy with my purchase. If you’re in the market for a gaming console, check them out.

 
Up Reply
20. September 18:17
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

18 messages from 18 displayed.