7.2.3 Widget - Reference Documentation
Authors: Andres Almiray
Version: 1.2.0
7.2.3 Widget
Provided by: SwingBuilderThis is a pass through node that accepts any UI component as value. As opposed tocontainer
, this node does not allow nesting of child content. It's quite useful when what you need is to embed a custom component for which a node is not available, for examplewidget(new MyCustomDisplay(), title: 'Groovy') {