Search code examples
javaswingjbuttonnetbeans-6.9

How to add a mouse-up event?


Right-click > Events > Action > actionPerformed adds the mouse-down event to a NetBeans JButton. How is the mouse-up event added?


Solution

  • On Net Beans do this :

    Right=Click -> Events -> Mouse -> MouseReleased.
    

    Hope that might help

    Regards