JDK 11 jdk.unsupported.desktop.jmod - Unsupported Desktop Module

JDK 11 jdk.unsupported.desktop.jmod is the JMOD file for JDK 11 Unsupported Desktop module.

JDK 11 Unsupported Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.unsupported.desktop.jmod.

JDK 11 Unsupported Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Unsupported Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.unsupported.desktop.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

jdk/swing/interop/DispatcherWrapper.java

/*
 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package jdk.swing.interop;

import java.awt.SecondaryLoop;
import java.awt.EventQueue;
import sun.awt.FwDispatcher;
import sun.awt.AWTAccessor;

/**
 * This class provides a wrapper over inner class DispatcherProxy
 * which implements jdk internal sun.awt.FwDispatcher interface
 * and provides APIs to be used by FX swing interop to access and use
 * FwDispatcher APIs.
 *
 * @since 11
 */
public abstract class DispatcherWrapper {
    private DispatcherProxy fwd;

    public DispatcherWrapper() {
        fwd = new DispatcherProxy();
    }

    public abstract boolean isDispatchThread();

    public abstract void scheduleDispatch(Runnable r);

    public abstract SecondaryLoop createSecondaryLoop();

    public static void setFwDispatcher(EventQueue eventQueue, DispatcherWrapper dispatcher) {
        AWTAccessor.getEventQueueAccessor().setFwDispatcher(eventQueue, dispatcher.fwd);
    }

    private class DispatcherProxy implements FwDispatcher {

        @Override
        public boolean isDispatchThread() {
            return DispatcherWrapper.this.isDispatchThread();
        }

        @Override
        public void scheduleDispatch(Runnable r) {
            DispatcherWrapper.this.scheduleDispatch(r);
        }

        @Override
        public SecondaryLoop createSecondaryLoop() {
            return DispatcherWrapper.this.createSecondaryLoop();
        }
    }
}

jdk/swing/interop/DispatcherWrapper.java

 

JDK 11 jdk.xml.dom.jmod - XML DOM Module

JDK 11 jdk.unsupported.jmod - Unsupported Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-04-14, 1136👍, 0💬