Feb 14th, 2006, 04:05 AM
link a command on a jbutton
I've designed a GUI with Netbeans / Matisse (very usefull for gui developpement).
The panel is integrated in a form (binding is ok).
But I encountered the following problem :
I'd like to put my commitCommand on a simple JButton made by the designer.
What is the best way to do this ?
Should I use SwingActionAdapter(ActionCommand command) ?
Feb 16th, 2006, 08:59 PM
works for me. i think the SwingActionAdapter is actually a great way to integrate spring-rcp into most "normal" swing applications.