It looks like inner classes are not needed:

submit.setActionListener ({ control -> onAction(control)} as ActionListener);

The above closure will do the trick. This looks pretty cool. 

Click + Groovy? Wow. I'm going to grab a groovy book and get the fun started. 

The good part is that even JavaRebel works with it (short of closure 
redefinition).



I use IntelliJ IDEA. I'll give click a try with groovy.




>> I've been looking into groovy lately. Is there a way to make click work with 
>> groovy?
>I have done some tests and it was working fine. See my post[1].

What about a separate project to integrate click and groovy better (and maybe 
cayenne too)?
I suppose to keep the groovy naming convention it should be called "glick" :) 

Joseph.





-- 
View this message in context: 
http://n2.nabble.com/Click-and-Groovy-tp2580551p2587119.html
Sent from the click-user mailing list archive at Nabble.com.

Reply via email to