public int getWindowDecorationStyle ()

Returns a constant identifying the type of Window decorations the JRootPane is providing.

Returns:  One of NONE, FRAME, PLAIN_DIALOG, INFORMATION_DIALOG, ERROR_DIALOG, COLOR_CHOOSER_DIALOG, FILE_CHOOSER_DIALOG, QUESTION_DIALOG or WARNING_DIALOG.

See also:
setWindowDecorationStyle

Since:  1.4