The example below declares a Display object and used getBound() and getClinetArea() methods.

Java Code:
import org.eclipse.swt.widgets.Display;

public class DisplayBounds{

  public static void main(String[] args) {
    Display display = new Display();
    System.out.println("Display Bounds=" + display.getBounds() + " Display ClientArea="
        + display.getClientArea());
    display.dispose();
  }
}