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
67
votes
1
answer
21k
views
What are these different Java versions for?
I am just about to start my Java journey, ( I've already dabbled in C++) but I am getting really confused about all the different versions of Java:
JavaSE
JavaEE
JavaFX
etc.
Can someone explain these ...
14
votes
8
answers
14k
views
Do you start migrating your Swing project to JavaFX [closed]
I have a 4 years old project which is written in Swing + SwingX. Currently, it is still alive and still kicking.
However, as more GUI related feature requests coming in (For instance, a sortable tree ...
11
votes
3
answers
15k
views
Using MVC in a Java app
I need to write a cross-platform GUI application to process (in multiple threads) and visualize fairly large quantities of data. Ideally the application should be relatively fast and look good.
The ...
10
votes
2
answers
2k
views
JavaFX - the right way to use Properties with domain objects
JavaFX has provided a bunch of new Property objects, such as javafx.beans.property.DoubleProperty which allow you to define fields which can be automatically observed and synchronised.
In many JFX ...
9
votes
2
answers
8k
views
Does JavaFX have a future? [closed]
I have not intended to hash and rehash the same matter, but just to decide, what to learn first (JavaFX, Flex, HTML5, etc.) I would pull through a kind of survey, especially as the recent similar ...
7
votes
1
answer
3k
views
JavaFX 2.0 vs Qt for cross platform stand-alone application [closed]
I need a bit of advice from you developers who deal with cross-platform applications (specifically programs with a GUI).
I will be creating an application soon that needs to be cross-platform and so ...
7
votes
1
answer
9k
views
Good design patterns within JavaFX -- MVC?
I have used a lot of JavaFX and am familiar with the technical aspects. Now, as I foray into a very large application with hundreds of views, I want to make sure I start strong with a solid design. ...
5
votes
2
answers
559
views
Singleton design for small/medium sized music player project
I am refactoring the code for a music player I wrote in Java/JavaFX.
I have a few key objects which are accessed throughout the program by various other classes. I think there will be four or five ...
5
votes
1
answer
17k
views
How to implement the MVC design pattern with JavaFX written in pure Java
I am currently in middle of designing a backup application in JavaFX written in pure Java (meaning without Fxml) .
I am having trouble implementing the MVC pattern for the following reason. The way I ...
4
votes
3
answers
5k
views
Why instantiate and initialize an object without saving it into a variable?
Sorry if I got the wording wrong in my title, but it would be easiest to provide an example in JavaFX
primaryStage.setScene(new Scene(grid, 300, 275));
Now from what I understand, this code is ...
4
votes
1
answer
9k
views
TreeItem containing non-String object displaying strange text
Hello StackExchange community! This is my first post and appreciate any help anyone can offer. I'm new to Java, and I'm sure this issue is simply due to my misunderstanding of the fundamentals.
I ...
4
votes
1
answer
926
views
Should I use JavaFx properties? [closed]
I'm usually very careful to keep my Model, View, and Controller code separate. The thing is JavaFx properties are so convenient to bind them all together. The issue is that it makes my entire code ...
3
votes
1
answer
1k
views
What's the best way to organize JavaFX 2.0 code?
In every example I have seen yet almost all of the GUI code is written in the start(Stage stage) method of the main class. Is this the best approach, or is it OK to subclass the Stage class and make ...
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, ...
2
votes
2
answers
5k
views
JavaFx : Is there difference between String and StringProperty in Model Classes?
I'm trying to follow MVC concepts when i develop my application ,but I'm confused between Using String or StringProperty in Model classes.
Example one :
public class User{
String name;
...