Morphing Components
Suppose you have created a JTextField component that contains some text, colors, font properties etc., and find out that you need a JFormattedTextField component with the same properties. This is when morphing comes to help.
Morphing enables you to transform selected component into a new one, while preserving all common properties.
To create a new component on the base of an existing one, preserving the common properties
-
Select the desired component in the Form Workspace or in the Components Treeview.
-
On the context menu, choose Morph Component.
-
In the Choose Component to Morph Into pop-up menu, click the target component type.
Last modified: 08 March 2021