mbien commented on issue #8609:
URL: https://github.com/apache/netbeans/issues/8609#issuecomment-2996347050

   can you run this and check if it works:
   ```java
   import java.awt.event.MouseAdapter;
   import java.awt.event.MouseEvent;
   import javax.swing.JFrame;
   
   public class Mavenproject1 {
   
       public static void main(String[] args) {
           JFrame frame = new JFrame();
           frame.setSize(500, 500);
           frame.setTitle("double click me");
           frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
           frame.getContentPane().addMouseListener(new MouseAdapter() {
               @Override
               public void mouseClicked(MouseEvent e) {
                   frame.setTitle("clicks: " + e.getClickCount());
               }
           });
           frame.setVisible(true);
       }
   }
   ```
   it should say `clicks: 2` in the title if you double click on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to