On Wed, 02 May 2012 16:51:02 +0200, phil swenson <[email protected]> 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."
[email protected]
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to