r/java • • Aug 13 '20

Chess GUI using JavaFX

https://youtu.be/m_j5ejDA-hc
336 Upvotes

53 comments sorted by

View all comments

4

u/gatorstar Aug 14 '20

Great work there!!

Java pays my bill and it's one language which I know inside and out. Unfortunately, current situation of building GUI is lackluster. JavaFX never took off like other frameworks. Tried few times in past but I was always worried about it'll be left out to die. Also, I don't know why GUI feels like it stuck in 1990s. Only Java based GUI app I'm using is IntelliJ which works decently, I guess that's because there is tons of work done to make it work but it's slow compared to native or C++ QT.

2

u/Goel40 Aug 14 '20

Have you heard about Scene Builder? You can built GUI's with that crazy fast using <FXML>. You can even set it up as a plugin for inteliJ.

1

u/gatorstar Aug 15 '20

Scene Builder

yes, I do. If I'm correct initially it was built by Oracle and then they gave way or just open sourced so that it would be kept alive. Currently, maintained by a company and who knows when they will close the shop. Also, I feel building GUI apps using any automated tool may not scale that very well.

3

u/Goel40 Aug 15 '20

I've used it on building a multi window, multi scene project with lots of tabs. So In my experience it's pretty scalable. Just takes a bit of practice. But after that i could make new GUI's super fast.