/[classpath]/classpath/javax/swing/DefaultDesktopManager.java
ViewVC logotype

Diff of /classpath/javax/swing/DefaultDesktopManager.java

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

revision 1.11 by langel, Mon Jun 20 20:52:46 2005 UTC revision 1.12 by mark, Tue Jun 21 07:53:50 2005 UTC
# Line 516  public class DefaultDesktopManager imple Line 516  public class DefaultDesktopManager imple
516      // the bottom left corner)      // the bottom left corner)
517      // The icon also must not be placed where another icon is placed      // The icon also must not be placed where another icon is placed
518      // (regardless whether that frame is an icon currently or not)      // (regardless whether that frame is an icon currently or not)
519                JDesktopPane desktopPane = frame.getDesktopPane();
520          if (desktopPane == null)  
521            return frame.getDesktopIcon().getBounds();      if (desktopPane == null)
522                  return frame.getDesktopIcon().getBounds();
523          JDesktopPane desktopPane = frame.getDesktopPane();  
524      Rectangle paneBounds = desktopPane.getBounds();      Rectangle paneBounds = desktopPane.getBounds();
525      Insets insets = desktopPane.getInsets();      Insets insets = desktopPane.getInsets();
526      Dimension pref = frame.getDesktopIcon().getPreferredSize();      Dimension pref = frame.getDesktopIcon().getPreferredSize();

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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