• A new Application Builder page is available in the Preferences dialog box. It contains a new preference to limit the maximum number of open editors. The Desktop windows section, previously located under General, has also been moved to the Application Builder page.
• There is now support for switching units in applications. The new Unit Set node under Declarations makes it possible to specify a list of values and display names, where each value represents a specific unit in a list of units. The Unit Set also has a table of different unit lists, and each list contains units with the same dimension. The Input Field and Slider form objects can use a specific unit list of a unit set to specify the display unit of the form object.
• You can now create shortcuts to form objects and menu, ribbon, and toolbar items. In the Settings windows for such objects, a Create Shortcut button is available. You can also use the keyboard shortcut Ctrl+K to create a shortcut declaration to the currently selected form object or menu item. Created shortcuts appear in the Shortcuts node under Declarations in the Application Builder tree. Shortcuts are automatically updated when objects are renamed, moved, copied, and duplicated. Shortcuts are available in application method code as read-only Java® variables.
• Most form objects and items for menus, ribbons, and toolbars have two new settings: Visible and Enabled. These settings determine the initial visibility and enabled states of a form object or item. Therefore, it is no longer necessary to use a startup event and the a setFormObjectEnabled and setFormObjectVisible methods to control the initial visibility and enabled states.
• An About Dialog section has been added to the Main Window node’s Settings window. You can now customize the placement of the open About Application dialog action, choose to hide the default COMSOL Server information, and add a customized about text in the dialog box.
• When showing a selection in a Graphics form object, the toolbar now includes the following buttons: Zoom to Selection, Select Box, and Deselect Box.
• The form objects can now be modified from methods (see the Application Programming Guide for more information).
• A new document, the Application Programming Guide, available as a PDF, explains the structure and API for programming methods in the Application Builder and provides comprehensive information about available properties for form objects and other parts of the Application Builder that you can access from methods.
• A toString method with the option to remove trailing zeros has been added.
• A getLicenseNumber method retrieves the license number for the current session as a string.