Utility method to get the native window ID for a heavyweight Java Component 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 r
(Component c)
| 420 | * @throws HeadlessException if the current VM is running headless |
| 421 | */ |
| 422 | public static long getComponentID(Component c) throws HeadlessException { |
| 423 | return AWT.getComponentID(c); |
| 424 | } |
| 425 | |
| 426 | /** Utility method to get the native window pointer for a Java |
| 427 | * {@link Window} as a {@link Pointer} value. This method is primarily for |
no test coverage detected