Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4059874

clipboard.setContents slow on every other try

    XMLWordPrintable

    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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sgoodsunw Sheri Good (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: