home *** CD-ROM | disk | FTP | other *** search
- package sun.awt;
-
- public class AxBridgeHelper {
- static Thread appMainThread;
- public int event;
-
- public static void setAppMainThread(int var0) {
- if (var0 != 0) {
- appMainThread = Thread.currentThread();
- } else {
- appMainThread = null;
- }
-
- }
-
- public static boolean isAppMainThread() {
- return Thread.currentThread() == appMainThread;
- }
-
- private static native void initIDs();
-
- public void nativeModalWait() {
- this.nativeModalWait0();
- }
-
- public void nativeModalNotify() {
- this.nativeModalNotify0();
- }
-
- native void nativeModalWait0();
-
- native void nativeModalNotify0();
-
- static {
- initIDs();
- appMainThread = null;
- }
- }
-