/[classpath]/classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by abalkiss, Wed Jun 22 15:09:40 2005 UTC revision 1.9 by abalkiss, Wed Jun 22 16:06:18 2005 UTC
# Line 880  public class BasicInternalFrameUI extend Line 880  public class BasicInternalFrameUI extend
880        if (e.getPropertyName().equals(JInternalFrame.IS_CLOSED_PROPERTY))        if (e.getPropertyName().equals(JInternalFrame.IS_CLOSED_PROPERTY))
881          {          {
882            if (frame.getDefaultCloseOperation() == JInternalFrame.HIDE_ON_CLOSE)            if (frame.getDefaultCloseOperation() == JInternalFrame.HIDE_ON_CLOSE)
883              frame.setVisible(false);              {
884                  frame.setVisible(false);
885                  frame.getDesktopPane().repaint();
886                  throw new PropertyVetoException ("close operation is HIDE_ON_CLOSE\n", e);
887                }
888            else if (frame.getDefaultCloseOperation() == JInternalFrame.DISPOSE_ON_CLOSE)            else if (frame.getDefaultCloseOperation() == JInternalFrame.DISPOSE_ON_CLOSE)
889              closeFrame(frame);              closeFrame(frame);
890            else            else

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26