Matisse GUI Builder: JavaOne Update for NetBeans 5.0This update brings all GUI building features currently available in NetBeans 6.0 development builds to NetBeans 5.0. So besides using daily development builds or q-builds you can now get the latest features (as of June 2006) into your last stable release! See more details below. See also the roadmap for a longer term outlook.
Installation Steps for NetBeans 5.0Having NetBeans IDE 5.0 running, follow these steps:
After the IDE restarts, the installation is complete and you can start using the new features. UninstallationIf you ever wanted to uninstall this update, you can do it manually by removing the files listed below. $userdir$/config/Modules/
org-jdesktop-layout.xml
org-netbeans-modules-form.xml
org-netbeans-modules-i18n.xml
org-netbeans-modules-i18n-form.xml
org-netbeans-modules-properties.xml
$userdir$/config/org-netbeans-api-project-libraries/libraries-timestamps.properties
$userdir$/modules/
org-jdesktop-layout.jar
org-netbeans-modules-form.jar
org-netbeans-modules-i18n.jar
org-netbeans-modules-i18n-form.jar
org-netbeans-modules-properties.jar
$userdir$/modules/ext/
AbsoluteLayout.jar
swing-layout-1.0.1.jar
Note:
New Features1. Automatic InternationalizationOnce turned on, this feature takes care about
internationalizing the designed GUI form automatically. All texts in
the form are moved to a properties file and appropriate code is
generated that uses To turn this feature on, select the root node of the form in the Inspector and check the Automatic Internationalization property.
2. Visual LocalizationThe GUI form can be translated to a different language directly in the designer. The GUI builder allows you to switch the locale used for design, and also to create a new locale. Besides comfortable translation this is also useful for previewing the GUI appearance and behavior in different localizations. This can be done via the Design Local property of the root form node; see the picture above. New locale can be created by clicking the [...] button. See also this short internationalization demo.
3. Preview with Look and FeelThis feature allows to preview the designed GUI form in various look and feels, both standard and custom ones. A custom look and feel can be installed to the palette from a JAR file. This can be done the same way as installing JavaBeans components; the only difference is that the look and feels are not displayed in the palette. To get this you need to install them to the Look and Feels category in the palette manager.
4. Relative Font DefinitionThis feature allows to define font by deriving it from the default font. The generated code does not contain the full definition (that includes the font type which depends on platform/look and feel) but only changes you made. This way you can have the modified font consistent on all platforms. For example, if you want a bold font, the following code is generated: label.setFont(label.getFont().deriveFont(label.getFont().getStyle() | Font.BOLD); To use the relative font definition, just check the Derive the font from the default font check box in the font property editor.
5. Context Sensitive Help BarThis is a new component in the GUI designer displaying various hints based on context (e.g. type of component selected, type of actual operation, how a component is dragged, etc). It can be quite useful for discovering features available in various situations.
7. Dragging Components from Projects ExplorerThis is a small, but very useful feature. If you have developed a component, you can drag it directly from the Projects explorer and drop it onto a form. (Note the component must be compiled.) You don't need to package and install the component to palette if you don't plan to use it often or in more projects.
8. Support for Java 6 LayoutWith Java 6 (Mustang), Matisse is able to generate code
that uses only standard JDK classes. The additional Swing Layout Extensions
library containing necessary classes ( Note that all existing GUI forms will keep using the library, but you can change the code generation style if you move your project to Java 6 platform. The corresponding property is available on the root node of the form in the Inspector. All newly created forms will generate Java 6 code preferentially (if the project is targeted to Java 6).
The layout library will continue to be used for older JDK versions (5 or 1.4.x). The library was recently updated to version 1.0.1 which is functionally equivalent to the Mustang version. For more information see http://swing-layout.dev.java.net. The new library version is also part of this update pack.
9. BugfixesHere is a list of bugs fixed for this update. |















