Details
Description
A community member has submitted a patch to avoid a compatibility issue when creating an image buffer on a system remote desktop system. Basically the created buffer is using:
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().createCompatibleImage()
Is returning an image which is backed with DataBuffer of type DataBufferUShort. The short DataBuffer causes as cast exception when we try and decode the associated raw data stream and apply a color model.
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().createCompatibleImage()
Is returning an image which is backed with DataBuffer of type DataBufferUShort. The short DataBuffer causes as cast exception when we try and decode the associated raw data stream and apply a color model.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Applied patch, marking as fixed .