Posted By

thebugslayer on 06/02/07


Tagged


Versions (?)

Quick SwingBuilder Sample


 / Published in: Groovy
 

  1. new groovy.swing.SwingBuilder().frame(size: [300, 75], title: "Password Demo", defaultCloseOperation: javax.swing.WindowConstants.EXIT_ON_CLOSE){
  2. passwordField(columns:10, actionPerformed: { event -> println event.source.text })
  3. }.show()

Report this snippet  

You need to login to post a comment.