JDAF 2.2 and JIDE 2.6.6
Join the DZone community and get the full member experience.Join For Free
First of all, the MVC architecture now supports multiple views per model (beta). This is accomplished by adding additional DataViewFactory objects that vend DataViews in response to the same DataModel instance. If the DataModel is primary, the first view vended is considered the primary view and will be installed normally according to the application style. Any other views are considered “auxiliary” and require that you implement a DataViewHandler similar to secondary DataViews. However, any number of auxiliary views may belong to either primary or secondary DataModels, as they are just more views on the same model. See the MultiViewDemo for an example. (Note: DockingApplicationFeature and FramedApplicationFeature currently do not support multiple views per model. However this can be accomplished manually by using a DataViewHandler. We are working on this enhancement and it will be released in a maintenance update.)
Next, we have enhanced the behavior of ApplicationFeatures in many ways. The uninstall() method no longer needs to be implemented, the base will now throw a FeatureException to prevent them from being uninstalled at runtime. You may also control whether the feature installation fails passively, just by logging, or whether it throws an Exception (now the default) using the setPassiveExceptionHandling() method. The default is false because failure to install an ApplicationFeature generally means that the application will not run properly. Finally, you can tell GUIApplication to uninstall your feature on exit using setUninstallOnExit(true), which is great if there are resources to clean up when the application closes.
Last to mention are some cool new static usability run() methods in GUIApplication, that magically create an application with minimal fuss. Great for one-offs or testing. There simply is no faster way to create a robust Java application. Check out the change logs for other additions, enhancements, and bug fixes.
By the way, there is now debug jar available for JDAF which you can download in customer download page. This can be helpful during development.
A new component was brought on board to JIDE Common Layer. It is a pane that can make any component automatically scrolling, so called Marquee. Need to build a moving stock ticker or a rolling status label? This MarqueePane is a perfect fit. Please make sure checking out MarqueePaneDemo to see it in action.
Another nice feature is added to JideSplitPane to allow you to drag the divider regarding its previous/next divider's location. In the other word, a divider can be dragged beyond its adjacent dividers. Docking Framework frames can resized more easily with this new feature.
There are also other small enhancements here and there. For example, AggregateTable and AggregateTablePane now have their own Hssf utils to export to Excel. In addition, AggregateTable has AggregateTablePersistenceUtils to allow you to save and load its layout to and from an XML file. OutlookTabbedPane also has OutlookTabbedPanePersistenceUtils to persist its tab order and visible tabs.
JIDE Software, Inc.
We make you love being a Swing developer!
About JIDE Software
JIDE Software is a privately held software company focusing on providing rich client solutions and services using Java technology. Founded in 2002, JIDE Software has developed nine commercial and open source products and over 100 professional Swing components that cover almost every aspect of Java/Swing development.
With more than 1400 customers in over 40 countries worldwide, JIDE Software is the clear market leader. Many companies are depending on technologies JIDE provides to build their applications or frameworks, deliver their customers a polished user interface, and simplify their in-house development.
Opinions expressed by DZone contributors are their own.