Swing - Java Development

Swing is nowadays the most used package (set of classes) for development in Java Standalone applications. Its huge quantity of components allows programmer to use all of his creativity when projecting a screen. Different from others programming languages considered to be good in screen development, like Borland Delphi and Microsoft Visual Basic, Java doesn’t have a specific file to keep screen layout formatting, that means all screen parameters of coordinates will be specified as method parameters (functions) inside Java source code.

In fact, AWT package was the first package of classes created for construction of user interfaces. Swing was introduced in Java only in version 1.2. Here is a list of Swing advantages:

  • 100% of compatibility with AWT;
  • Allows creation of an unlimited set of interface components;
  • You can use logic or light components to create panels and others auxiliary structures.

The only disadvantage of Swing is related to performance, since all interface control is now JVM responsibility.

The comment form is closed.

RSS feed for comments on this post · TrackBack URL