2006-05-16  Audrius Meskauskas  <[EMAIL PROTECTED]>

   * javax/swing/plaf/basic/BasicInternalFrameUI.java
   (BorderListener.mouseDragged):Do not set cursor
   if the frame is being dragged.
Index: BasicInternalFrameUI.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,v
retrieving revision 1.34
diff -u -r1.34 BasicInternalFrameUI.java
--- BasicInternalFrameUI.java	16 May 2006 08:23:53 -0000	1.34
+++ BasicInternalFrameUI.java	16 May 2006 08:29:13 -0000
@@ -259,6 +259,7 @@
           dm.resizeFrame(frame, cacheRect.x, cacheRect.y,
                          Math.max(min.width, cacheRect.width),
                          Math.max(min.height, cacheRect.height));
+          setCursor(e);
         }
       else if (e.getSource() == titlePane)
         {
@@ -267,7 +268,6 @@
           dm.dragFrame(frame, e.getX() - xOffset + b.x, e.getY() - yOffset
                                                         + b.y);
         }
-      setCursor(e);
     }
 
     /**

Reply via email to