src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java

Print this page

        

*** 782,791 **** --- 782,798 ---- /* * Returns true if the application (one of its windows) owns keyboard focus. */ native boolean isApplicationActive(); + /** + * Returns true if AWT toolkit is embedded, false otherwise. + * + * @return true if AWT toolkit is embedded, false otherwise + */ + public static native boolean isEmbedded(); + /************************ * Native methods section ************************/ static native long createAWTRunLoopMediator();