action arguments

1 view
Skip to first unread message

Peter van der Winkel

unread,
Aug 10, 2009, 10:53:59 AM8/10/09
to javabu...@googlegroups.com
I got something like this:

- JButton(name=b1, onAction=myMethod, ...)

Is it possible to give some extra information to the specified onAction method?

Maybe:

- JButton(name=b1, onAction=myMethod, actionArguments="string1,string2" , ...)

and the Java method should be:

public void myMethod(Object[] arguments)

Reply all
Reply to author
Forward
0 new messages