Change Log of JFormDesigner 5.1

See also: What's New in JFormDesigner 5.1

5.1.2

Bugs fixed

  • Changing font property of JSpinner component did not always update design view.
  • Runtime library and Test form: Fixed NoSuchMethodException: DefaultComponentFactory$TitleLabel.setTextWithMnemonic("&text") when having JGoodies components in form (since 5.1.1).
  • Java code generator: Fixed missing "bundle" variable if i18n only used in beans binding (since 5.1.1).
  • NetBeans forms converter: Fixed conversion of top-level menu bars in non-JFrame forms.

Other Changes

  • IntelliJ IDEA plug-in: Support for IntelliJ IDEA 13.
  • IntelliJ IDEA plug-in: Support IntelliJ look and feel.
  • Updated JRE in Windows setup to Java 7 Update 45.

5.1.1

Bugs fixed

  • Java code generator: Fixed missing "bundle" variable in initComponentsI18n() method when using custom 'getString' template.
  • Java code generator: Listener methods are now ordered alphabetically.
  • Java code generator: Invoke initComponentsI18n() before pack().
  • Java code generator: No code generated for JTabbedPane.setDisabledIconAt() under special circumstances.
  • Java code generator and FormCreator: JTabbedPane.setSelectedIndex() was invoked before adding tabs.
  • Binding groups without children causes issues in the Bindings view.
  • Border editor dialog: Catch exceptions that occur in painting border preview.
  • IntelliJ IDEA plug-in: Fixed NPE in StructureViewWrapperImpl.setFile() (since IntelliJ IDEA 12.0.2).
  • NetBeans plug-in: Support resources directory in Maven projects.
  • Eclipse plug-in on Mac OS X: Support running JFormDesigner in Eclipse on Mac OS X Java 7 VM. Requires class sun.lwawt.macosx.CViewEmbeddedFrame in Java 7. At date of release, this class was only available in JDK 7u12 Developer Preview (1.7.0_12-ea) (from https://jdk7.java.net/download.html), but not in Java SE 7u21 (from oracle.com). See also Java Bug 7154778 and Eclipse Bug 374199.
  • Eclipse plug-in: Fixed NullPointerException when using "New Editor" command.

Other Changes

  • IntelliJ IDEA plug-in: Support for IntelliJ IDEA 12 and 12.1.
  • IntelliJ IDEA plug-in: Support Darcula look and feel.
  • Updated JRE in Windows setup to Java 7 Update 21.

5.1.0.2

IntelliJ IDEA plug-in only.

  • IntelliJ IDEA plug-in: Forms were not saved in IntelliJ IDEA 12 EAP.

5.1.0.1

NetBeans and IntelliJ IDEA plug-ins only.

  • NetBeans plug-in: Automatic refresh of designers on project classpath changes or project builds did not work.
  • IntelliJ IDEA plug-in: Support for IntelliJ IDEA 12 EAP.

5.1

New Features and Improvements

  • NetBeans plug-in.
  • Java 7 support: Use diamond operator if source compatibility is set to Java 7. Automatically use type parameter <String> for ComboBoxModel<E>, JComboBox<E>, ListModel<E> and JList<E> if model property is set.
  • JGoodies Forms 1.4 and 1.5 support.
  • GroupLayout: Many improvements and fixes in layout design (from NetBeans 7.1).
  • Palette: Display multiple items per row if there is enough room.
  • Palette: New option "Item Names" in context menu to show only item icons.
  • New JFDML persistence format for .jfd form files. This is a compact, easy-to-merge and fast-to-load format.
  • New preferences page "GridBagLayout" supports specification of default properties for new columns/rows.
  • I18n: Added localization preferences option "Format used for generated keys".
  • I18n: Support XML resource bundles.
  • Java code generator: Added preferences options "Variable modifiers" and "Event handler modifiers".
  • Java code generator: Added "Variable Annotations" property to ButtonGroup objects.
  • Added property editor for java.lang.Class.
  • Added code templates for java.awt.Frame and java.awt.Window to "Java Code Generator > Templates" preferences.
  • Forms converter: Batch convert all forms in selected folders (Eclipse, IntelliJ IDEA and NetBeans plug-ins only).
  • NetBeans forms converter: Support conversion of NetBeans 7.1 GridBagLayout gaps and FlowLayout.alignOnBaseline.

Bugs fixed

  • TitledBorder and JGoodies Titled Separator used different font in Design view (bold) than in application (on Windows).
  • Nesting "this" component in panel was not handled properly.

Other Changes

  • Updated JGoodies Forms to 1.4.2.
  • Updated JGoodies Looks to 2.4.2.
  • Updated IntelliJ IDEA GridLayout to 11.1.1.
  • IntelliJ IDEA plug-in: Use IntelliJ IDEA 10.x button-less scroll bars.
  • Changed license of runtime library from BSD-3-Clause to BSD-2-Clause.
  • Dropped Java 1.4 edition of runtime library (jfd-loader14.jar).
  • Updated JRE in Windows setup to Java 7 Update 3.