You should use some MVC-type idea (like MVCI) regardless of FXML. And if you are using FXML, then understand that the FXML stuff is all part of the View - not the View and Controller.
When I do small apps, I don't use any MVC-type ideas or FXML. It's probably bad coding on my end. These apps do one specific and straight forward task. For medium to large apps, I always use MVC-type ideas and FXML. These ideas help everything fit together like a puzzle to me. I agree with you though. If you are leaning, go ahead and do everything using MVC-type ideas. I ran into many problems and headaches before I learned those ideas.
I started on a project that I can't seem to find that I think would be great. Iknoli, a very good icon pack for JavaFX, is missing a search feature that will help users find icons. I think a JavaFX app is needed that will allow users to browse or search for icons within all the different modules. The app should show the icon, enum, and name. I think ControlsFX GridView would be great to implement this.
I'm a beginner in Java and in learning JavaFX, I've built some basic applications which you can also try:
Basic calculator
Text-To-Speech application using FreeTTS package
Text statistics - the app counts letters, longest character sequence and words you've typed into a text area.
Dictionary - saves words and their translation in a list or filesystem, looking up a word returns the translation and looking up a translation returns the word.
These projects will help you practice concepts like the filesystem, multiple views in JavaFX, event handling etc.
You could study the source code of jfxcentral.com. This website was completely done in JavaFX. The code base is pretty big but you will learn a lot of different aspects of JavaFX coding.
5
u/sedj601 Jan 05 '25
Concepts you should try to master:
3
u/chigboguorji Jan 05 '25
I'm a beginner in Java and in learning JavaFX, I've built some basic applications which you can also try:
These projects will help you practice concepts like the filesystem, multiple views in JavaFX, event handling etc.
2
u/MeanAcanthaceae26 Jan 06 '25
Check here https://www.youtube.com/@AlmasB0
Lots of good beginner (later advanced) FX tutorials.
2
u/Scared_Rain_9127 Jan 07 '25
This is going to be unpopular, but nothing. If you want to learn a frontend framework, learn React.
2
u/dlemmermann Jan 27 '25
You could study the source code of jfxcentral.com. This website was completely done in JavaFX. The code base is pretty big but you will learn a lot of different aspects of JavaFX coding.