<Swing Dev> [9] Fix for JDK-7096375 : Swing ignores first click after decreasing system's time

Ajit Ghaisas ajit.ghaisas at oracle.com
Mon Jul 18 12:27:27 UTC 2016


Hi,

Bug : 
    https://bugs.openjdk.java.net/browse/JDK-7096375
    Swing ignores first click after decreasing system's time.

Fix :
    BasicButtonListener keeps track of the last time when a button is pressed.
    This is used while discarding mouse press events to handle multiClickThreshold.
    The condition to discard mouse press event is corrected.

Webrev :
    http://cr.openjdk.java.net/~aghaisas/7096375/webrev.00/

    Request you to review.

Regards,
Ajit



More information about the swing-dev mailing list