|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.utility.awt.WindowHelper
public final class WindowHelper
This class may help you to adjust your Window (Frame, JFrame, etc.).
| Method Summary | |
|---|---|
static void |
center(java.awt.Component f)
Centers the given window on the screen |
static void |
center(java.awt.Frame f,
java.awt.GraphicsConfiguration screen)
Centers the given window on the screen |
static java.awt.Point |
getCenterCoordinates(java.awt.Dimension d)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.awt.Point getCenterCoordinates(java.awt.Dimension d)
public static void center(java.awt.Component f)
f - the window to be centered
public static void center(java.awt.Frame f,
java.awt.GraphicsConfiguration screen)
f - the window to be centeredscreen - the screen to center on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||