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:
JDK 17 java.desktop.jmod - Desktop Module
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module.
JDK 17 Desktop module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.desktop.jmod.
JDK 17 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Desktop module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/awt/event/PaintEvent.java
/* * Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.event; import java.awt.Component; import java.awt.Rectangle; import java.io.Serial; /** * The component-level paint event. * This event is a special type which is used to ensure that * paint/update method calls are serialized along with the other * events delivered from the event queue. This event is not * designed to be used with the Event Listener model; programs * should continue to override paint/update methods in order * render themselves properly. * <p> * An unspecified behavior will be caused if the {@code id} parameter * of any particular {@code PaintEvent} instance is not * in the range from {@code PAINT_FIRST} to {@code PAINT_LAST}. * * @author Amy Fowler * @since 1.1 */ public class PaintEvent extends ComponentEvent { /** * Marks the first integer id for the range of paint event ids. */ public static final int PAINT_FIRST = 800; /** * Marks the last integer id for the range of paint event ids. */ public static final int PAINT_LAST = 801; /** * The paint event type. */ public static final int PAINT = PAINT_FIRST; /** * The update event type. */ public static final int UPDATE = PAINT_FIRST + 1; //801 /** * This is the rectangle that represents the area on the source * component that requires a repaint. * This rectangle should be non null. * * @serial * @see java.awt.Rectangle * @see #setUpdateRect(Rectangle) * @see #getUpdateRect() */ Rectangle updateRect; /** * Use serialVersionUID from JDK 1.1 for interoperability. */ @Serial private static final long serialVersionUID = 1267492026433337593L; /** * Constructs a {@code PaintEvent} object with the specified * source component and type. * <p> This method throws an * {@code IllegalArgumentException} if {@code source} * is {@code null}. * * @param source The object where the event originated * @param id The integer that identifies the event type. * For information on allowable values, see * the class description for {@link PaintEvent} * @param updateRect The rectangle area which needs to be repainted * @throws IllegalArgumentException if {@code source} is null * @see #getSource() * @see #getID() * @see #getUpdateRect() */ public PaintEvent(Component source, int id, Rectangle updateRect) { super(source, id); this.updateRect = updateRect; } /** * Returns the rectangle representing the area which needs to be * repainted in response to this event. * @return the rectangle representing the area which needs to be * repainted in response to this event */ public Rectangle getUpdateRect() { return updateRect; } /** * Sets the rectangle representing the area which needs to be * repainted in response to this event. * @param updateRect the rectangle area which needs to be repainted */ public void setUpdateRect(Rectangle updateRect) { this.updateRect = updateRect; } public String paramString() { String typeStr; switch(id) { case PAINT: typeStr = "PAINT"; break; case UPDATE: typeStr = "UPDATE"; break; default: typeStr = "unknown type"; } return typeStr + ",updateRect="+(updateRect != null ? updateRect.toString() : "null"); } }
⏎ java/awt/event/PaintEvent.java
Or download all of them as a single archive file:
File name: java.desktop-17.0.5-src.zip File size: 9152233 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.instrument.jmod - Instrument Module
2023-09-16, 33976👍, 0💬
Popular Posts:
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...
JDK 11 jdk.jfr.jmod is the JMOD file for JDK 11 JFR module. JDK 11 JFR module compiled class files a...
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module. JDK 11 Hotspot Agent...