Questions tagged [javafx]
JavaFX is a software platform for creating and delivering rich internet applications (RIAs) that can run across a wide variety of devices. From [Wikipedia JavaFX](https://en.wikipedia.org/wiki/Javafx)
38 questions
0 votes
1 answer
219 views
How should ViewModels and Services communicate in a JavaFX + Spring Boot MVVM application?
I'm building a JavaFX + Spring Boot application using the MVVM pattern. I’m building a generic “wizard” in a JavaFX + Spring Boot MVVM app. A WizardViewModel drives a sequence of steps (STEP_ONE → ...
2 votes
2 answers
2k views
How to go about calling parent's instance method from child instance?
This question is a continuation of a question originally posted here. I'm trying my hand at creating a Snake clone with JavaFX. One of the requirements for the game is to have a sort of powerup food, ...
0 votes
0 answers
198 views
How to avoid circular dependency from abstracting navigation in desktop application?
I am trying to abstract some functionality from my desktop application (JavaFX) for changing views. So, what I am thinking is: Navigator interface with methods like goToAccountsOverview(), ...
-2 votes
1 answer
146 views
Should i use Sqlite integer as a datatype for my primary key column?
I am developing a library management software in javafx and I am using sqlite as a database for that. I have to store data of almost 50000 books. And all those books would have a barcode. Obviously, ...
0 votes
1 answer
2k views
Is it possible to add Service layer in MVC pattern?
I'm working on javaFX project using Hibernate and H2 database,I'm trying follow the concept of MVC design pattern ,so I have created 3 packages : models :contains POJO classes 2.1 views.fxml:contains ...
1 vote
0 answers
170 views
Proper Separation of Concerns in GUI Development
The Situation I'm developing a JavaFX desktop application that can be described in three parts: The Data The GUI The Process The GUI is a means of seeing and editing the data and the process is a, ...
1 vote
0 answers
256 views
GUI that builds an object - how to design the GUI?
I'm currently writing the GUI for my application. As I understand in a MVC-like application are the following components for each feature: Business data: a complex object hierarchy containing all the ...
0 votes
2 answers
181 views
Which End should start first? (MVC)
I am developing a small application and trying my best to make it as professional as possible in regards to design pattern etc. It is a JavaFX app, and my app works fine but I am uneasy at the fact ...