net.sf.genuine.organizer.internal
Class FrameLocator

java.lang.Object
  extended bynet.sf.genuine.organizer.internal.FrameLocator

public class FrameLocator
extends java.lang.Object

A helper class that determines the best spot to locate a new frame on a desktop.


Constructor Summary
FrameLocator(javax.swing.JDesktopPane desktopPane)
          Initialization by passing the desktop pane that contains all existing frames.
 
Method Summary
 void locateFrame(javax.swing.JInternalFrame frame)
          Positions the given frame on the desktop by setting appropriate coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameLocator

public FrameLocator(javax.swing.JDesktopPane desktopPane)
Initialization by passing the desktop pane that contains all existing frames.

Method Detail

locateFrame

public void locateFrame(javax.swing.JInternalFrame frame)
Positions the given frame on the desktop by setting appropriate coordinates. The given frame is not shown.