|
Closure changes: msg#00075lang.groovy.user
In some old scripts I had code that looked like this: frame = swing.frame(title:'Install', location:[100,100], size:[800,400] ) { panel(layout:new BorderLayout()) { scrollPane(constraints:BorderLayout.CENTER){ table(model: setupTableModel) ; } panel(constraints:BorderLayout.SOUTH){ button(text:'OK', actionPerformed:{event | frame.dispose(); doFullInstall() }); button(text:'Download Only', actionPerformed:{event | frame.dispose(); doDownloadOnly() }); button(text:'Cancel', actionPerformed:{event | frame.dispose() }); } } } This fails in beta7, I've had to change the button code to button(text:'OK', toolTipText: 'Download and install selected items', actionPerformed:{event | doOKAction() }); etc.. and add extra methods. Is this expected? Thanks, Kevin Jones http://kevinj.develop.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Environment variables, Kevin Jones |
|---|---|
| Next by Date: | RE: Evaluating dynamic GPath, Dion Almaer |
| Previous by Thread: | Environment variables, Kevin Jones |
| Next by Thread: | curious about no flush with java.io.reader.transformChar, Alex LeDonne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |