JDK-4638448 : Clipboard Fixes and Enhancements
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2002-02-15
  • Updated: 2006-08-31
Related Reports
Relates :  
Relates :  
Relates :  
Description
Name: eh37734			Date: 02/14/2002


The main problem with the current clipboard is that it does not allow
non-String data to be transferred between VM's, even though the API
allows arbitrary objects to be put on the clipboard. This needs to be
fixed to serialize/deserialize objects for inter VM transfer.

More on the enhancement side, the clipboard does not provide conversions
for common data types. For example, you cannot transfer images between
Java and native applications. We should provide two way conversions for
common data types e.g.:
        - Java Image objects <-> native bitmap formats (BMP, PICT, X pixmap)
        - Styled text <-> RTF or whatever
        - Sound clips <-> native audio format
        - etc etc.

We should also allow Java applications to access unknown data types as a
raw byte stream in case they want to provide their own conversions.
Whatever data exchange formats we provide for the clipboard should also
be supported for drag and drop.


======================================================================

Comments
EVALUATION Name: eh37734 Date: 02/14/2002 This feature has been added for Tiger release ====================================================================== Name: agR10216 Date: 01/23/2003 Most of the enchancements requested in the report have been already implemented. In particular, image and text transfer support was done in Merlin. The mantis fixes 4397404 and 4720930 enhanced image transfer. The one remaining item is audio transfer. There won't be any new API, possibly except for a new constant DataFlavor.audioFlavor (similar to DataFlavor.imageFlavor). ###@###.### 2003-01-23 ======================================================================
23-01-2003