public abstract class Platform
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
isOSX
Whether we are running on Mac OS X.
|
Constructor and Description |
---|
Platform() |
Modifier and Type | Method and Description |
---|---|
static int |
getScreenResolution()
Returns the active screen resolution.
|
public static int getScreenResolution()
Toolkit.getScreenResolution()
which
will throw a HeadlessException
.Copyright © 2022 Apache Software Foundation. All Rights Reserved.