What's New in JFormDesigner 5.1
JFormDesigner 5.1 introduces several new features and enhancements. This topic describes some of the significant or more interesting changes. Please have a look at the change log for a complete list of changes.
The NetBeans plug-in fully integrates JFormDesigner into NetBeans 7.0 and later.
Use diamond operator in generated source code if source compatibility is set
to Java 7. Automatically use type parameter
JList<E> if model
property is set.
JGoodies FormLayout 1.4 and 1.5, which provides the new row gap "label component gap", are now supported.
The NetBeans team has made many improvements and fixes to the GroupLayout design in NetBeans 7.1, which are now incorporated into JFormDesigner.
New JFDML persistence format for .jfd form files. This is a compact, easy-to-merge and fast-to-load format. It is about 70% smaller than the XML format.
JFDML format (30 lines; 1 KB):
XML format (90 lines; 3 KB):
To change the persistence format of an existing form, open the form, select the "(form)" node in the Structure view and change the "Form file format" property in the Properties view. Or use the JFormDesigner command-line tool to convert the format of many forms.
The Palette has been improved:
- Display multiple items per row if there is enough room.
- New option "Item Names" in context menu to show only item icons.
Following options have been added to the Preferences:
(Eclipse, NetBeans and IntelliJ IDEA plug-ins only)
You can now convert all forms contained in containers (folders, packages, project, etc.). The improved Convert dialog allows you to select the forms that you want convert.