I'm working on a desktop application for my Bachelor's Degree project. The app is designed to control a smart lighting system, which requires just a few buttons, checkboxes, and sliders. I'm wondering if JavaFX is a good option for this kind of project, or if there are better frameworks I should consider.
4 Answers
In conclusion, I'd say JavaFX is a perfectly good choice for your project, especially since it's simple. You might face a learning curve, but it sounds like a fun project to dive into!
While JavaFX is usable and can handle your needs, don't overlook Swing. It's more stable and compatible across different operating systems. I faced issues with JavaFX when trying to transition between Windows and Linux, so keep that in mind.
Good point! Swing has been around longer and often has fewer headaches with compatibility.
If you're mainly doing a school project, JavaFX should serve you just fine. It’s got enough capability for simpler interfaces, and you'll appreciate the learning experience. Though I would suggest keeping your options open—tools like Electron or even Swing could be alternatives if you find JavaFX tricky.
Right! If you're open to trying something different, Electron with React could be fun to explore too!
JavaFX is definitely a viable option! It works great for basic desktop applications like controlling smart systems with buttons and sliders. Plus, it's actively maintained, which is a plus. Just make sure you're using the right Java distribution that includes JavaFX with it, like Bellsoft's Liberica.
Yeah, I second that! I had a good experience with JavaFX a couple of years back for a small app. The CSS styling is nice too, makes it easier to customize.
Yeah, and if it's just for learning, you'll get a lot out of using any of these frameworks.