MCPcopy Create free account
hub / github.com/java-native-access/jna / getWindowID

Method getWindowID

src/com/sun/jna/Native.java:412–414  ·  view source on GitHub ↗

Utility method to get the native window ID for a Java Window as a long value. This method is primarily for X11-based systems, which use an opaque XID (usually long int ) to identify windows. @throws HeadlessException if the current VM is running headless

(Window w)

Source from the content-addressed store, hash-verified

410 * @throws HeadlessException if the current VM is running headless
411 */
412 public static long getWindowID(Window w) throws HeadlessException {
413 return AWT.getWindowID(w);
414 }
415
416 /** Utility method to get the native window ID for a heavyweight Java
417 * {@link Component} as a <code>long</code> value.

Callers 1

updateX11Method · 0.95

Calls 1

getWindowIDMethod · 0.95

Tested by

no test coverage detected