Results 1 to 2 of 2

Thread: link a command on a jbutton

  1. #1
    Join Date
    Aug 2005
    Location
    Clermont-Ferrand / France
    Posts
    21

    Default link a command on a jbutton

    Hello,

    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) ?

    Regards,

    Christophe

  2. #2

    Default

    works for me. i think the SwingActionAdapter is actually a great way to integrate spring-rcp into most "normal" swing applications.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •