I want to make my form visible when I double click the tray icon?
How do I catch the double click on the icon?
Thanks.
Try to use MouseListener with
public void mousePressed( MouseEvent e ) {
if(e.getClickCount() >= 2){
//do something
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With