jdk/src/solaris/classes/sun/awt/X11/XChoicePeer.java
changeset 21278 ef8a3a2a72f2
parent 21267 fe3928f5591f
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    85                                              // scrollbar
    85                                              // scrollbar
    86 
    86 
    87     private boolean firstPress = false;      // mouse was pressed on
    87     private boolean firstPress = false;      // mouse was pressed on
    88                                              // furled Choice so we
    88                                              // furled Choice so we
    89                                              // not need to furl the
    89                                              // not need to furl the
    90                                              // Choice when MOUSE_RELEASED occured
    90                                              // Choice when MOUSE_RELEASED occurred
    91 
    91 
    92     // 6425067. Mouse was pressed on furled choice and dropdown list appeared over Choice itself
    92     // 6425067. Mouse was pressed on furled choice and dropdown list appeared over Choice itself
    93     // and then there were no mouse movements until MOUSE_RELEASE.
    93     // and then there were no mouse movements until MOUSE_RELEASE.
    94     // This scenario leads to ItemStateChanged as the choice logic uses
    94     // This scenario leads to ItemStateChanged as the choice logic uses
    95     // MouseReleased event to send ItemStateChanged. To prevent it we should
    95     // MouseReleased event to send ItemStateChanged. To prevent it we should