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

Support Notifications of Clipboard Contents Changes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.1.6, 1.2.2, 1.4.0
    • client-libs
    • tiger
    • generic, x86, sparc
    • generic, solaris_7, windows_95, windows_nt



      Name: skT88420 Date: 08/03/99


      Most Windows applications, and probably those on other platforms,
      typically enable "paste" functionality only when there is valid data
      on the clipboard ("valid" meaning of an appropriate flavor).
      Implementing this behavior requires a mechanism through which changes
      to the clipboard can be detected. That is when the option should be
      enabled or disabled -- when the clipboard contents change. The Java
      Clipboard API does not currently support this type of notification,
      but it could be added trivially.

      I suggest that java.awt.Clipboard be extended to support a set of
      listeners (PropertyChangeListener would be adequate) who are notified
      when the clipboard contents change. This would be entirely backward
      compatible with the existing API and would provide very useful
      functionality that is not currently available.
      (Review ID: 93418)
      ======================================================================

            agerasimsunw Alexander Gerasimov (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: