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 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes:
"C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/awt/event/FocusEvent.java
/* * @(#)FocusEvent.java 1.16 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.awt.event; import java.awt.Component; import java.awt.Event; /** * The component-level focus event. * There are two levels of focus change events: permanent and temporary. * Permanent focus change events occur when focus is directly moved * from one component to another, such as through calls to requestFocus() * or as the user uses the Tab key to traverse components. * Temporary focus change events occur when focus is temporarily * gained or lost for a component as the indirect result of another * operation, such as window deactivation or a scrollbar drag. In this * case, the original focus state will automatically be restored once * that operation is finished, or, for the case of window deactivation, * when the window is reactivated. Both permanent and temporary focus * events are delivered using the FOCUS_GAINED and FOCUS_LOST event ids; * the levels may be distinguished in the event using the isTemporary() * method. * * @version 1.16 12/10/01 * @author Carl Quinn * @author Amy Fowler */ public class FocusEvent extends ComponentEvent { /** * Marks the first integer id for the range of focus event ids. */ public static final int FOCUS_FIRST = 1004; /** * Marks the last integer id for the range of focus event ids. */ public static final int FOCUS_LAST = 1005; /** * The focus gained event type. */ public static final int FOCUS_GAINED = FOCUS_FIRST; //Event.GOT_FOCUS /** * The focus lost event type. */ public static final int FOCUS_LOST = 1 + FOCUS_FIRST; //Event.LOST_FOCUS boolean temporary = false; /* * JDK 1.1 serialVersionUID */ private static final long serialVersionUID = 523753786457416396L; /** * Constructs a FocusEvent object with the specified source component, * type, and whether or not the focus event is a temporary level event. * @param source the object where the event originated * @id the event type * @temporary whether or not this focus change is temporary */ public FocusEvent(Component source, int id, boolean temporary) { super(source, id); this.temporary = temporary; } /** * Constructs a permanent-level FocusEvent object with the * specified source component and type. * @param source the object where the event originated * @id the event type */ public FocusEvent(Component source, int id) { this(source, id, false); } /** * Returns whether or not this focus change event is a temporary * change. */ public boolean isTemporary() { return temporary; } public String paramString() { String typeStr; switch(id) { case FOCUS_GAINED: typeStr = "FOCUS_GAINED"; break; case FOCUS_LOST: typeStr = "FOCUS_LOST"; break; default: typeStr = "unknown type"; } return typeStr + (temporary? ",temporary" : ",permanent"); } }
⏎ java/awt/event/FocusEvent.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 176144👍, 0💬
Popular Posts:
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
Apache Log4j IOStreams is a Log4j API extension that provides numerous classes from java.io that can...
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...
How to download and install Apache XMLBeans-2.6.0.zip? If you want to try the XMLBeans Java library,...
What Is poi-5.2.3.jar? poi-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which provides an...