Other |
---|
5.0 tigerFixed |
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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) ======================================================================
|