bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/25256] JSplitPane broken


From: mark at gcc dot gnu dot org
Subject: [Bug swing/25256] JSplitPane broken
Date: 4 Dec 2005 21:58:32 -0000


------- Comment #2 from mark at gcc dot gnu dot org  2005-12-04 21:58 -------
In particular reverting this part of that patch makes the JSplitPane work
again:

--- java/awt/Container.java     23 Nov 2005 15:16:40 -0000      1.71
+++ java/awt/Container.java     4 Dec 2005 21:57:30 -0000
@@ -2157,7 +2157,8 @@
         break;
       }

-    if (me.getID() == MouseEvent.MOUSE_PRESSED && modifiers > 0
+    if (me.getID() == MouseEvent.MOUSE_RELEASED
+        || me.getID() == MouseEvent.MOUSE_PRESSED && modifiers > 0
         || me.getID() == MouseEvent.MOUSE_DRAGGED)
       {
         // If any of the following events occur while a button is held down,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25256





reply via email to

[Prev in Thread] Current Thread [Next in Thread]