import java.awt.Color

panel(border: lineBorder(color: Color.BLACK, thickness: 1),
      preferredSize: [300, 300]) {
  riverLayout()
  label 'Registration Form', constraints: 'center'
  label 'Name', constraints: 'p left'
  textField constraints: 'tab hfill'
  label 'Age', constraints: 'br'
  textField columns: 3,  constraints: 'tab'
  label 'Comment', constraints: 'br vtop'
  scrollPane(constraints: 'tab hfill vfill') {
    textArea()
  }
  button 'Ok', constraints: 'p center'
}
