Extension SDK 10.1.2


oracle.jdeveloper.vcs.util
Class VCSWindowUtils

java.lang.Object
  extended byoracle.jdeveloper.vcs.util.VCSWindowUtils


public final class VCSWindowUtils
extends java.lang.Object

Utility class for window operations.

Since:
9.0.5

Method Summary
static java.awt.Window getCurrentWindow()
Gets the currently operational window in the application.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getCurrentWindow

public static final java.awt.Window getCurrentWindow()
Gets the currently operational window in the application. This is the active modal window, or the IDE's main window if there are no visible modal windows in the container hierarchy. Use this method to correctly set the parent of a dialog. It should only be called from the AWT event thread prior to showing the child window.
Returns:
the current window.

Extension SDK


Copyright © 1997, 2004, Oracle. All rights reserved.