Goodbye Swing by D.M.


Posted on August 24, 2013 at 9:00 PM


>

SC Financial Manager is design using the new old swing framework.

From wikipedia: 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 native 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.

I personally like swing, it was slow but is was also mature I am developing now using the JavaFX technology. This Technology uses a property based technology to populate the GUI. This make a single model development really tricky. In the past I will create a single model and used it for EE, Mobile (JavaME and Android) and desktop application. Now that you have to implement a property in you model you must also add the whole JavaFX library to all you component. To avoid this problem I am developing a library that will add this property to my model without having to implement it in the model. So I can use my model for the different components but still, can use the property framework for my JavaFX application. This program also use SVG extensively for the chart. I am a very big supporter for SVG for its scaling properties and it transformation property. SVG 1.1 is widely supported in browser however it's like it is not moving at a speedy paste.


Leave a Comment:


Blog Search

About our blogs

With every project we design we tend to write a blog about our experience working on it. The blog conveys our opinion on the technology we employ on the drawback and the reward of using this technology.