Currently CustomNode returns a single node via its create() function. This means that virtually all CustomNode objects will create a Group to hold its content. For Custom nodes defined with a small number of shapes, the memory overhead of this Group is noticeable.
- duplicates
-
JDK-8099383 CustomNode.create should return Node[] instead of Node
- Closed
- relates to
-
JDK-8098909 Parent should have the field 'content'.
- Closed