Retrieves a boolean value indicating whether this control is a top-level window (a window that has no parent window).
public final boolean getTopLevel()
Returns true if this control is a top-level window; otherwise, returns false.
See Also setTopLevel