what is swing in java
- Swings Part of Java Foundation classes
- Swings provides the GUI component in Java window application.
- Swings GUI components are very light weighted and platform independent
- Swings components are developed to overcome the awt component drawbacks.
difference between awt and swing in tabular form
Swings |
AWT |
Swings components are platform independent |
AWT components are platform dependent |
light weighted control |
heavy weighted control |
More GUI Components |
Less Components |
Follow MVC Designing Pattern |
Not follow MVC |
The hierarchy of java swing API