Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P5
-
Resolution: Duplicate
-
Affects Version/s: 1.1.1
-
Fix Version/s: None
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
CPU:x86
-
OS:windows_95
Description
Name: sgC58550 Date: 06/18/97
I wrote a simple text copy and paste manager based on the AWT's
example code:
if (cmd.equals("Copy"))
{
// Implement Copy operation
String srcData = textCanvas.copy(false);
if (srcData != null)
{
StringSelection contents = new StringSelection(srcData);
clipboard.setContents(contents, this);
}
}
else ...
The code works, but it follows a very regular pattern: On every
other try the setContents operation takes about 4 seconds (on a
133MHz Pentium w/ 32M running W95).
The delay seems excessive.
company - Newport Software Development , email - ###@###.###
======================================================================
Attachments
Issue Links
- duplicates
-
JDK-4060810 Win32: multiple setContents calls caused clipboard to send lostOwnership msg.
-
- Closed
-