List of usage examples for javax.swing JDesktopPane getBounds
public Rectangle getBounds()
From source file:com.g2inc.scap.editor.gui.windows.EditorMainWindow.java
public void cascade(JDesktopPane desktopPane) { JInternalFrame[] frames = desktopPane.getAllFrames(); if (frames.length == 0) { return;//from w ww .java 2s . co m } cascade(frames, desktopPane.getBounds(), 24); }
From source file:com.g2inc.scap.editor.gui.windows.EditorMainWindow.java
public void cascade(JDesktopPane desktopPane, int layer) { JInternalFrame[] frames = desktopPane.getAllFramesInLayer(layer); if (frames.length == 0) { return;//from w ww .j a v a2s.co m } cascade(frames, desktopPane.getBounds(), 24); }