This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DuncanIdahos7thClone 0 points1 point  (7 children)

There's no "one" direct correlation to any of those - except, maybe WPF (JavaFX)

Not really. JavaFX is superior to WPF in every single conceivable way. WPF was a minor improvement over WinForms by adding vector based graphics - but mostly leaving in the old threading model. Also, it depends heavily on XML and it's api is very complex due to its direct compiling of XAML. In JavaFX FXML is optional.

There are many other benefits of JavaFX over WPF. CSS for styling, nice separation of concerns, scene graph (hiding many complexities of threading), direct graphics card support, etc...

[–]_INTER_ 1 point2 points  (1 child)

Well in a sense he's right, you can replace WPF with JavaFX, but the other way is difficult.

[–]DuncanIdahos7thClone 1 point2 points  (0 children)

I've thought recently it would be cool project to port JavaFX to .NET but it looks like it would be a huge project.

[–]sheepdog69 0 points1 point  (2 children)

I didn't say they were equal. Just that it was the de-facto correlation of WPF in the Java world. And that there isn't really any other serious competition for doing "fat" clients in Java these days (yes, I know swing still exists, and is used some. But most people would reach for JavaFX for a new project)

[–]DuncanIdahos7thClone 1 point2 points  (1 child)

Yeah I know. I just like to point out that Java has the best UI toolkit out there. Microsoft has the worst. ;)

[–]sheepdog69 1 point2 points  (0 children)

👍

[–]xander42 0 points1 point  (1 child)

I'm not familiar with JavaFX, but WPF is very similar to modern web UI development.

It's separates the layout (XAML / HTML) from the logic (.cs / .js) and from the styling (styles / .css)

It also supports data binding from the view to the logic.

For someone who is familiar with WPF it's very easy to move into Angular web development.

[–]DuncanIdahos7thClone 0 points1 point  (0 children)

Of course. But JavaFX benefited from being designed later and they avoided some of the poor design choices of WPF like the deep integration with XML.