-
Enhancement
-
Resolution: Fixed
-
P4
-
1.1.6, 1.2.2, 1.4.0
-
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)
======================================================================
- duplicates
-
JDK-4141702 Enhancing clipboard API
-
- Closed
-
-
JDK-4473507 Clipboard.getContents should return exact same Transferable for ClipboardOwner
-
- Closed
-
- relates to
-
JDK-4701990 Headless mode hang on exit when Toolkit is accessed
-
- Resolved
-
-
JDK-4882934 Reg test Clipboard/FlavorChangeNotificationTest/SystemClipboardTest failure
-
- Resolved
-
-
JDK-4885687 spec of FlavorListener.flavorsChanged() does not correspond to CCC decision
-
- Resolved
-
-
JDK-4884956 REGRESSION:datatransfer.Clipboard.setContent deals with the queue now
-
- Closed
-
-
JDK-4287795 Would like Clipboard.isDataFlavorSupported() method
-
- Resolved
-
-
JDK-6374355 FlavorEvent should provide DataFlavors
-
- Closed
-