On Wed, 02 May 2012 16:51:02 +0200, phil swenson <phil.swen...@gmail.com> wrote:

I'd like to know what does he mean with "no events".

in Delphi you could do stuff like:

sendButton.onClick = ClickHandlerMethod



I don't even want to think about what the equivalent is in Java.

Basically, you need function pointers.

So, it's not events but first class functions and it's not a Swing problem, but a Java problem. In Groovy or Scala with Swing you can do that.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
fabrizio.giud...@tidalwave.it
http://tidalwave.it - http://fabriziogiudici.it

--
You received this message because you are subscribed to the Google Groups "The Java 
Posse" group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to