changeset 17149 | adce5338e9b5 |
parent 12532 | dbf5d9a4b7bb |
child 20169 | d7fa6d7586c9 |
--- a/jdk/src/share/classes/javax/swing/JDesktopPane.java Mon Apr 29 16:42:22 2013 +0400 +++ b/jdk/src/share/classes/javax/swing/JDesktopPane.java Tue Apr 30 13:24:14 2013 +0400 @@ -428,6 +428,15 @@ } /** + * {@inheritDoc} + */ + @Override + public void remove(Component comp) { + super.remove(comp); + updateFramesCache(); + } + + /** * Selects the next <code>JInternalFrame</code> in this desktop pane. * * @param forward a boolean indicating which direction to select in;