Index: javax/swing/plaf/basic/BasicInternalFrameUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,v retrieving revision 1.8 diff -u -r1.8 BasicInternalFrameUI.java --- javax/swing/plaf/basic/BasicInternalFrameUI.java 22 Jun 2005 15:09:40 -0000 1.8 +++ javax/swing/plaf/basic/BasicInternalFrameUI.java 22 Jun 2005 15:58:26 -0000 @@ -880,7 +880,11 @@ if (e.getPropertyName().equals(JInternalFrame.IS_CLOSED_PROPERTY)) { if (frame.getDefaultCloseOperation() == JInternalFrame.HIDE_ON_CLOSE) - frame.setVisible(false); + { + frame.setVisible(false); + frame.getDesktopPane().repaint(); + throw new PropertyVetoException ("close operation is HIDE_ON_CLOSE\n", e); + } else if (frame.getDefaultCloseOperation() == JInternalFrame.DISPOSE_ON_CLOSE) closeFrame(frame); else