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/SwingInterOpUtils.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.Toolkit;
import java.awt.Window;
import java.awt.AWTEvent;
import sun.awt.SunToolkit;
import sun.awt.AppContext;
import sun.awt.UngrabEvent;

/**
 * This class provides static utility methods to be used by FX swing interop
 * to access and use jdk internal classes like SunToolkit, AppContext
 * and UngrabEvent.
 *
 * @since 11
 */
public class SwingInterOpUtils {

    public static void postEvent(Object target, java.awt.AWTEvent e) {
        AppContext context = SunToolkit.targetToAppContext(target);
        if (context != null) {
            SunToolkit.postEvent(context, e);
        }
    }

    public static void grab(Toolkit toolkit, Window window) {
        if (toolkit instanceof SunToolkit) {
            ((SunToolkit)toolkit).grab(window);
        }
    }

    public static void ungrab(Toolkit toolkit, Window window) {
        if (toolkit instanceof SunToolkit) {
            ((SunToolkit)toolkit).ungrab(window);
        }
    }

    public static boolean isUngrabEvent(AWTEvent e) {
        return e instanceof UngrabEvent;
    }

    public static final int GRAB_EVENT_MASK = SunToolkit.GRAB_EVENT_MASK;

}

jdk/swing/interop/SwingInterOpUtils.java

 

Or download all of them as a single archive file:

File name: jdk.unsupported.desktop-11.0.1-src.zip
File size: 7362 bytes
Release date: 2018-11-04
Download 

 

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)

2022-06-28, 6698👍, 3💬