|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.components.util.ComponentPositioner
public class ComponentPositioner
This is a convenience class with static methods used to position graphic components on screen.
Constructor Summary | |
---|---|
ComponentPositioner()
|
Method Summary | |
---|---|
static void |
centerOnScreen(java.awt.Window w)
Centers a window in the middle of the screen. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentPositioner()
Method Detail |
---|
public static void centerOnScreen(java.awt.Window w)
setLocation
function.
w
- the window to be centered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |