HWND « JFrame « Java Swing Q&A





1. In Java Swing how do you get a Win32 window handle (hwnd) reference to a window?    stackoverflow.com

In Java 1.4 you could use ((SunToolkit) Toolkit.getDefaultToolkit()).getNativeWindowHandleFromComponent() but that was removed. It looks like you have to use JNI to do this now. Do you have the JNI code and sample ...

3. Window Handle (HWND) with JDK 1.4.1    coderanch.com