...
| Code Block |
|---|
def swing = new SwingBuilder()
swing.edt{
frame( title:'CustomFrame ReportTitle',
id: 'customReportFrameframeID',
location: [700,200],
pack:true,
defaultCloseOperation: WindowConstants.DISPOSE_ON_CLOSE,
windowClosing:{
welcomeFrame.enabled = true
},
show:true){
panel(border:new EmptyBorder(2,2,2,2)){
boxLayout(axis:BoxLayout.Y_AXIS)
label("Top Label")
label("Bottom Label")
}
}
} |
...