Retrieves a Screen object for the primary monitor.
public static Screen getPrimary()
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