Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JBrowser Source Code Files
JBrowser Source Code Files are provided in the
source package file.
You can download JBrowser source package as described in the previous tutorial and go to the "src" sub-folder to view Source Code files.
You can also browse JBrowser Source Code files below:
✍: FYIcenter
⏎ org/mozilla/browser/impl/CocoaUtils.java
package org.mozilla.browser.impl; import org.mozilla.browser.RunnableEx; /** * Utility class for executing code * on the AppKit thread */ public class CocoaUtils { public static Thread appkitThread; /** * Executes the given task on the AppKit thread. * * During execution of this method, the method * callbackOnAppKitThread() will be called on * the AppKit thread. */ public static native void syncExecOnAppKitThread(RunnableEx task) throws Exception; /** * Executes the given task on the AppKit thread. * * During execution of this method, the method * callbackOnAppKitThread() will be called on * the AppKit thread. */ public static native void asyncExecOnAppKitThread(Runnable task); /** * called back on the AppKit thread with the runnable * passed to syncExecOnAppKitThread() * @param task */ @SuppressWarnings("unused") //called from JNI //$NON-NLS-1$ private static void callbackOnAppKitThread(RunnableEx task) throws Exception { Thread ct = Thread.currentThread(); assert "AWT-AppKit".equals(ct.getName()); //$NON-NLS-1$ if (appkitThread==null) appkitThread = ct; task.run(); } /** * called back on the AppKit thread with the runnable * passed to asyncExecOnAppKitThread() * @param task */ @SuppressWarnings("unused") //called from JNI //$NON-NLS-1$ private static void callbackOnAppKitThread(Runnable task) { Thread ct = Thread.currentThread(); assert "AWT-AppKit".equals(ct.getName()); //$NON-NLS-1$ if (appkitThread==null) appkitThread = ct; task.run(); } /** * Spins AppKit event loop until the method * stopModal() is called; */ public static native void runModal(); /** * Stops spinning of the AppKit event loop * started in runModal() */ public static native void stopModal(); }
⏎ org/mozilla/browser/impl/CocoaUtils.java
Or download all of them as a single archive file:
File name: jbrowser-1.9-fyi.zip File size: 625318 bytes Release date: 2022-11-10 Download
⇐ Download and Install JBrowser Source Package
2017-07-17, 9312👍, 1💬
Popular Posts:
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
JSP(tm) Standard Tag Library 1.1 implementation - Jakarta Taglibs hosts the Standard Taglib 1.1, an ...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...
How to download and install xml-commons External Source Package? The source package contains Java so...