My JavaFX Christmas Wishlist

Scott Palmer swpalmer at gmail.com
Fri Nov 17 02:31:19 UTC 2023


> On Nov 15, 2023, at 9:32 AM, Nir Lisker <nlisker at gmail.com> wrote:
> 
> 
>> removal of AWT
> 
> Isn't that *a lot* of work? All the image IO is AWT, no? 

It was a mistake to tie ImageIO to GUI framework image classes. The image raster should be returned in a generic wrapper around a byte array or ByteBuffer from the various codecs. 
The UI layer should bridge it from there. A WriteableRaster or BufferImage just needs to wrap those bytes with the dimensions and pixel format details.
But I bet it isn’t that far off and wouldn’t be that much work. It’s a question of priorities though. 

I still think the AWT ties need to be cut.

I want native tray support, dock icon overlays/badges & progress feedback. Webcam support would be nice too, for video chat apps, security camera UIs, image recognition, barcode scanning, etc. 

Scott



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231116/35b6dc7f/attachment.htm>


More information about the openjfx-dev mailing list