My JavaFX Christmas Wishlist

Andy Goryachev andy.goryachev at oracle.com
Wed Nov 15 22:19:02 UTC 2023


In the spirit of the season, here is my wish list (in no particular order):

- bundling javafx with jdk by default
- playback/display of all the modern A/V/I formats (webp, heic, svg, ...)
- application framework: settings, ui preferences, actions, programmatic css, platform api
- cross-platform jpackage, at least for win/linux/macos
- improvements to the core platform: better focus management, actions, text enhancements, ...

:-)

-andy




From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of David Alayachew <davidalayachew at gmail.com>
Date: Wednesday, November 15, 2023 at 11:31
To: Dirk Lemmermann <dlemmermann at gmail.com>
Cc: Nir Lisker <nlisker at gmail.com>, openjfx-dev <openjfx-dev at openjdk.org>
Subject: Re: My JavaFX Christmas Wishlist
My bigger question is asking what you lose by having AWT in JavaFX. Is there something fundamentally problematic about it that its removal would solve/alleviate a problem?

Whereas on the other hand, AWT has some very useful libraries that are in use by nearly all Java GUI frameworks. For example, if you want to do anything really complex with 2D Image work, you will inevitably end up using java.awt.BufferedImage. It's simple, but very fast.

On Wed, Nov 15, 2023 at 12:18 PM Dirk Lemmermann <dlemmermann at gmail.com<mailto:dlemmermann at gmail.com>> wrote:
3D: unfortunately that is completely out of my comfort zone … for this feature request I am merely the messenger.
AWT: I was thinking that this is mostly a refactoring and probably code duplication?

Dirk


Am 15.11.2023 um 14:28 schrieb Nir Lisker <nlisker at gmail.com<mailto:nlisker at gmail.com>>:

3D line and point primitives

I filed https://bugs.openjdk.org/browse/JDK-8316398 for this already. As noted, it requires a somewhat complex computation for intersections and possibly for contains. If you would like to write these Mesh classes, like the current TriangleMesh, I can write the rest.

removal of AWT

Isn't that *a lot* of work? All the image IO is AWT, no?

On Wed, Nov 15, 2023 at 10:48 AM Dirk Lemmermann <dlemmermann at gmail.com<mailto:dlemmermann at gmail.com>> wrote:
Hi guys,

I already mentioned this at the JavaFX BOF at DEVOXX and also posted this on Twitter but wanna make sure it gets the visibility it deserves:

All I want for Christmas is … / what I think is needed for JavaFX going forward ...

        - removal of AWT
        - a tray API (tray icon)
        - undecorated interactive stage style
        - blur support for stages
        - WebP image format support
        - native embedded browser (Chromium)
        - 3D line and point primitives
        - injection support in FXML for custom controls
        - TableView improvements, aka. TableView2

(order of items does not imply priority)

Dirk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231115/443227de/attachment-0001.htm>


More information about the openjfx-dev mailing list