6557223: Resize cursor stays after fast outline-resize of JInternalFrame with JScrollPane
authormalenkov
Fri, 26 Jun 2009 16:30:02 +0400
changeset 3104 cce457efb5d8
parent 3103 6c55d4ab4ebe
child 3105 b5931be76fbc
6557223: Resize cursor stays after fast outline-resize of JInternalFrame with JScrollPane Reviewed-by: peterz
jdk/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameUI.java
--- a/jdk/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameUI.java	Fri Jun 26 08:09:19 2009 +0400
+++ b/jdk/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameUI.java	Fri Jun 26 16:30:02 2009 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright 1997-2008 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1997-2009 Sun Microsystems, Inc.  All Rights Reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -683,6 +683,7 @@
                 }
                 getDesktopManager().endResizingFrame(frame);
                 resizing = false;
+                updateFrameCursor();
             }
             _x = 0;
             _y = 0;