Overview | Methods | Fields | This Package | All Packages
Retrieves a Screen object for the primary monitor.
Syntax
public static Screen getPrimary()
Return Value
Returns a Screen object for the primary monitor on the system. If the system contains only a single monitor, this method returns a Screen object for that monitor.
See Also getAllScreens