public class WindowTools
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.awt.Component |
getComponentFromHandle(int handle)
Retrurns an AWT component that corresponds to a given native handle.
|
static long |
getWindowHandle(java.awt.Component component)
Returns a native window handle of the given component.
|
static long |
getWindowHandle(java.awt.Component component,
boolean runInCurrentThread)
Returns a native window handle of the given component.
|
public static long getWindowHandle(java.awt.Component component,
boolean runInCurrentThread)
component - the component to get the native window handle for.public static long getWindowHandle(java.awt.Component component)
component - the component to get the native window handle for.public static java.awt.Component getComponentFromHandle(int handle)