Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/datatransfer/Clipboard.java
/*
* @(#)Clipboard.java 1.7 01/12/10
*
* Copyright 2002 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.awt.datatransfer;
/**
* A class which implements a mechanism to transfer data using
* cut/copy/paste operations.
*
* @version 1.7, 12/10/01
* @author Amy Fowler
*/
public class Clipboard {
String name;
protected ClipboardOwner owner;
protected Transferable contents;
/**
* Creates a clipboard object.
*/
public Clipboard(String name) {
this.name = name;
}
/**
* Returns the name of this clipboard object.
*/
public String getName() {
return name;
}
/**
* Sets the current contents of the clipboard to the specified
* transferable object and registers the specified clipboard owner
* as the owner of the new contents. If there is an existing owner
* registered, that owner is notified that it no longer holds ownership
* of the clipboard contents.
* @param content the transferable object representing the clipboard content
* @param owner the object which owns the clipboard content
*/
public synchronized void setContents(Transferable contents, ClipboardOwner owner) {
if (this.owner != null && this.owner != owner) {
this.owner.lostOwnership(this, this.contents);
}
this.owner = owner;
this.contents = contents;
}
/**
* Returns a transferable object representing the current contents
* of the clipboard. If the clipboard currently has no contents,
* it returns null.
* @param requestor the object requesting the clip data
* @return the current transferable object on the clipboard
*/
public synchronized Transferable getContents(Object requestor) {
return contents;
}
}
⏎ java/awt/datatransfer/Clipboard.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, ≈352🔥, 0💬
Popular Posts:
JDK 11 jdk.internal.vm.ci.jmod is the JMOD file for JDK 11 Internal VM CI module. JDK 11 Internal VM...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
JDK 17 jdk.jfr.jmod is the JMOD file for JDK 17 JFR module. JDK 17 JFR module compiled class files a...
Java-WebSocket Source Code Files are provided in the source package file, java-websocket-1.5.4-src .z...