public class AwtConst
extends java.lang.Object
Constructor and Description |
---|
AwtConst() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Point |
getCenterLocation(java.awt.Dimension size) |
static int |
getSreeenHeight() |
static int |
getSreeenWidth() |
static void |
setSizeAndCenter(java.awt.Component c,
int width,
int height) |
public static int getSreeenWidth()
public static int getSreeenHeight()
public static java.awt.Point getCenterLocation(java.awt.Dimension size)
size
- public static void setSizeAndCenter(java.awt.Component c, int width, int height)
c
- width
- height
- Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de