INTRODUCTION TO SWING.
INTRODUCTION TO SWING. (I had to diverge from the JLS to swing because i fell in love with it.)
Each user of an application want to use a software that not only is pleasing to the eyes but which usage is simple to discover. Back in the day, before user interfaces became so glorified, computers were horrible mammoths reserved for just scientists. Today, a youth in a garage can devise glorious graphical functionalities on the internet using ajax and flex and likewise make an application speak with user interfaces, one of them being the java user interface which is not left out in the conference.
Before the swing revolution, the designers of the java language created a set of classes called the abstract window toolkit (AWT) used for creating user interfaces, painting graphics and rendering images on computer screens and other devices. But the AWT had platform compatibility problems that make it frustrating and not up to par with its competition in the user interface space. So back to the drawing board went the designers and they came out with swing, a set of revolutionary user interfaces that along with the java component reusability feature of beans is comparable to the visual modeling capabilities of VB.
Swing is incorporated into the java foundation class or JFC which comprises of AWT, Swing, Accessibility, Java 2D, and Drag and Drop.
Swing is built on top of AWT and the naming of its classes follows the AWT. These two libraries are one the two important libraries any java programmer will never do without.
The swing classes are in the javax.swing package of the api and according to the api, this package provides a set of lightweight components that to the maximum degree possible, work on all platforms.
No comments:
Post a Comment