Category: Swing

Foreword about Swing

Seems that Java is rarely used in PC interface developing, we may choose QT, MFC, .NET and so on. So many tools available, and they are both powerful and convenient!

I was recently told to teach swing for new students in the lab, so I spent a few days learning about it.

Differ from other tools in PC interface developing, swing is very easy to get started! The following is excerpted from Wikipedia.

Example Swing widgets in Java Swing is a GUI widget toolkit for Java. It is part of Oracle’s Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). Swing provides a look and feel that emulates the look and feel of several platforms, and also supports a pluggable look and feel that allows applications to have a look and feel unrelated to the underlying platform. It has more powerful and flexible components than AWT. In addition to familiar components such as buttons, check boxes and labels, Swing provides several advanced components such as tabbed panel, scroll panes, trees, tables, and lists. Unlike AWT components, Swing components are not implemented by platform-specific code. Instead, they are written entirely in Java and therefore are platform-independent. The term “lightweight” is used to describe such an element.Swing(Java)-Wikipedia

Swing is supported in native Java, it goes with no need for extra tools as long as Java environment configured correctly.

In the following a few days, I will go on learning about it and prepare my presentation PPT. I’ll also update my blogs for the convenience of teaching, so, they’ll be posted in Chinese.