-
Notifications
You must be signed in to change notification settings - Fork 32
Designer 2.0 Method Tags
Patrick Ziegler edited this page Nov 8, 2025
·
1 revision
<method name="getDocument">
<tag name="exposeDisconnectedComponent" value="true"/>
</method>Specifies that method "getDocument()" should be used to expose the component, even if it is not connected to the host component. For example JTextComponent (such as JTextField) has a method, getDocument(), that returns a non-visual object Document, that can not be a child of a visual component. But we still want to show it as a child, so force this.