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 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\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, 2013, 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; /** * 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; /* * JDK 1.1 serialVersionUID */ 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-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 193738👍, 5💬
Popular Posts:
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...