FormStartPosition Class

FormStartPosition Class

This Package | All Packages

Enum
  |
  +--FormStartPosition
public class FormStartPosition
extends Enum

Specifies form start position values.

Fields
Name Description
CENTER_SCREEN The form will be centered on the primary monitor and will have the dimensions specified in the form's size.
MANUAL The location and size of the form will determine the starting position.
WINDOWS_DEFAULT_BOUNDS The form will be positioned at the Windows default location and will have the bounds determined by Windows default.
WINDOWS_DEFAULT_LOCATION The form will be positioned at the Windows default location and will have the dimensions specified in the form's size.

Fields

FormStartPosition.CENTER_SCREEN

Syntax
public static final int CENTER_SCREEN;
Description
The form will be centered on the primary monitor and will have the dimensions specified in the form's size.

FormStartPosition.MANUAL

Syntax
public static final int MANUAL;
Description
The location and size of the form will determine the starting position.

FormStartPosition.WINDOWS_DEFAULT_BOUNDS

Syntax
public static final int WINDOWS_DEFAULT_BOUNDS;
Description
The form will be positioned at the Windows default location and will have the bounds determined by Windows default.

FormStartPosition.WINDOWS_DEFAULT_LOCATION

Syntax
public static final int WINDOWS_DEFAULT_LOCATION;
Description
The form will be positioned at the Windows default location and will have the dimensions specified in the form's size.