Methods | Fields | This Package | All Packages

Screen Class

Encapsulates the physical display device.

package com.ms.wfc.ui

public class Screen

Remarks

This object's constructor is private so that the object cannot be explicitly initialized. Instead, the object is initialized when you call its public methods. For example, the following illustrates how to call the Screen object's getPrimary method to retrieve a Screen object for the system's primary monitor:

Screen screen = Screen.getPrimary();