/[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.19 by abalkiss, Mon Sep 19 18:33:41 2005 UTC revision 1.20 by rabbit78, Fri Sep 23 15:45:12 2005 UTC
# Line 950  public class BasicInternalFrameUI extend Line 950  public class BasicInternalFrameUI extend
950            if (frame.isSelected())            if (frame.isSelected())
951              activateFrame(frame);              activateFrame(frame);
952            else            else
953              getDesktopManager().deactivateFrame(frame);              deactivateFrame(frame);
954          }          }
955        else if (evt.getPropertyName().equals(JInternalFrame.ROOT_PANE_PROPERTY)        else if (evt.getPropertyName().equals(JInternalFrame.ROOT_PANE_PROPERTY)
956                 || evt.getPropertyName().equals(                 || evt.getPropertyName().equals(
# Line 1705  public class BasicInternalFrameUI extend Line 1705  public class BasicInternalFrameUI extend
1705    }    }
1706    
1707    /**    /**
1708       * This is a convenience method that deactivates the JInternalFrame.
1709       *
1710       * @param f the JInternalFrame to deactivate
1711       */
1712      protected void deactivateFrame(JInternalFrame f)
1713      {
1714        getDesktopManager().deactivateFrame(f);
1715      }
1716    
1717      /**
1718     * This method returns a new ComponentListener for the JDesktopPane.     * This method returns a new ComponentListener for the JDesktopPane.
1719     *     *
1720     * @return A new ComponentListener.     * @return A new ComponentListener.

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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