5 ms·
JavaFX is not native, nor can it be made to look native like Swing can be made.
by cosmotic 4y ago
JavaFX is not native, nor can it be made to look native like Swing can be made.
- kaba0 4y agoWhy couldn’t it be native (whatever that even means)? At the end of the day, it does have a canvas you are free to draw anything on, so there is nothing you can’t imitate.
- cosmotic 4y agoNative would be Win32 calls to draw widgets. There's a built-in Swing look-and-feel that uses this API to render widgets in Swing. Yes, you could write your own code to replicate how things look, but it would be fragile and difficult to maintain. With Swing, it's built in and already maintained.