What is the Windows registered class of a Java window?

Go To StackoverFlow.com


I am writing a C++ app that retrieves a Java window and sets it as maximized. I am wondering what the registered class of a Java window is for FindWindow(LPCTSTR lpClassName, LPCTSTR lpWindowName);

2012-04-03 22:05
by DankMemes
I expect you could use Spy++ to find out the answer yourself - Rob Kennedy 2012-04-03 22:42


In JRE 1.6, Win32 Window class name for the top-level application window is set to SunAwtFrame. Prior to 1.6 it was inherited from the Java class name. Here are some details.

2012-04-03 23:19
by tenorsax