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

Print this page

        

*** 790,799 **** --- 790,806 ---- /* * 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();