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

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

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

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

JDK 17 Unsupported Desktop module source code files are stored in \fyicenter\jdk-17.0.5\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 {

    /**
     * Constructs a {@code SwingInterOpUtils}.
     */
    public 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-17.0.5-src.zip
File size: 8021 bytes
Release date: 2022-09-13
Download 

 

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

JDK 17 jdk.unsupported.jmod - Unsupported Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2022-11-07, 746👍, 0💬