The JavaFX platform enables developers to create and deploy rich desktop or browser-embedded applications that behave consistently across multiple platforms and browsers. It is built on Java technology and has replaced Swing as the standard Java client UI library. Apps can be deployed standalone for ...

learn more… | top users | synonyms

7
votes
2answers
1k views

Hello parallel world

I'm introducing someone to JavaFX. It still feels relatively new and I don't take being someone's first exposure to something lightly. I want to know if there's anything I'm doing unconventionally, ...
-1
votes
0answers
49 views

Multiple Scenes with one FXML file and one Controller in JavaFX

I have a question about this design for a multiple scene application. Where I use an Anchor Pane 1050 by 960 and a Pane that is 2300 by 2880 This gives me a 2 by 3 matrix or six scenes. I plan on ...
3
votes
2answers
60 views

Permutation and combination calculator

I wanted to make something for the Community Challenge, so I made a simple permutation and combination calculator. I'd like input on: The overall design - any suboptimal choices that could be ...
9
votes
3answers
1k views

Bridge Card Game

So I'm in the process of creating a simple Contract Bridge in Java. I will be using JavaFX to create the GUI component of the program. For right now I am trying to tackle writing each of the classes ...
10
votes
4answers
321 views

Student Showdown - Q and A battle game, part 1: The Champions

Just a self challenge/fun thing. I have a scene where the player picks a character, of course it works but I'm repeating myself an awful lot. I would appreciate any formatting suggestions and making ...
2
votes
1answer
126 views

Updating a JavaFX ListView after service update

I wrote a JavaFX program that contains a list of notes, each having a title and a content. This is the controller code: ...
8
votes
2answers
161 views

Taking flight with JavaFX

Just another step in my educational Trek. I didn't know when/why I would use the transparent feature and in experimenting with it, I made this. This one was fun to behold once done. It's an animated ...
5
votes
1answer
262 views

Embarking on a Tic Tac Toe journey with JavaFX

On my educational trek through the capabilities of JavaFX, I thought it would be a valuable challenge to create Tic Tac Toe. It took me far longer than expected to get this far, but despite likely ...
7
votes
1answer
144 views

Lambdas will guide you home, CSS will ignite your code, Java I'll try to FX you

I've been learning JavaFX and wanted to recreate Simple calculator implemented with lambdas. It's also my first time using CSS, whose capability has convinced me of the wonders and appeal of JavaFX ...
8
votes
1answer
221 views

Whose line is it anyway?

I've just started delving into JavaFX, and the following is essentially my "Hello World". Although it's simple, I question the code formatting and wonder if I'm breaking any conventions, especially if ...
7
votes
2answers
114 views

Ticker Tackor Soldier Spy

This is a Tic Tac Toe game with a "new game" button. I'm after a general review of the code with some tips on how to make it simpler and tidier. GitHub HoboChess.java ...
4
votes
0answers
163 views

Generic GUI background task runner (Java 8+)

Here is the culprit; headers omitted for brevity, and also, see notes afterwards: ...
12
votes
1answer
177 views

Numbers are high, numbers are low. Will you guess the right answer, though?

This question is a follow-up to: High-Low Guessing Game Now with shiny new graphics in JavaFX. You now have the awesome ability to choose which numbers to guess between. Now with Git Repository! ...
1
vote
1answer
173 views

Simple chart-viewing JavaFX example on Nashorn

I'm hacking together some first examples on JavaScript (Nashorn) for viewing a simple chart. Since my background is "Java programmer" I'm sure there are ways where I can have more benefit from ...
5
votes
1answer
1k views

Generate Property Classes for JavaFX

Description Generate Property Classes for JavaFX Java 1.8 is used. This code can also be downloaded from PCloud:Zip File , Github File Summary FXMLController.java: Controller for Scene.fxml ...
14
votes
2answers
1k views

Trading Card Game Prototype GUI with JavaFX

Most of my programming experience is with Objective-C, but I have recently started learning Java and JavaFX to build the user interface for a Trading Card Game. This is the most Java I have ever ...
2
votes
1answer
97 views

Repeating code fragments in XML editor

I'm trying to make an XML editor. So far, I got the results I wanted, but a lot of code is repeated. How can I reuse more effectively? ...
15
votes
1answer
251 views

CircularListCursor - an efficient circular cursor on any list

I have decided to create my own CircularListCursor, because I wanted some abstraction and a ListIterator<E> couldn't give ...
13
votes
2answers
559 views

Detecting two intersecting circles with editable x, y, and radius in JavaFX

I was actually pretty proud of this programming project that I came across in this book I'm working through. I only really had problems figuring out the formula for detecting whether or not the two ...
7
votes
1answer
1k views

Rotating Text in Circular Pattern Using JavaFX

Just wanted to see what you all thought about my program, I basically have two different classes that I designed to allow for automated wrapping of text in a circular pattern. This is my first bit of ...
10
votes
1answer
547 views

Dashboard for running programs in JavaFX 8

I have decided to create a dashboard view of a number of running processes/programs/applications, because it became tedious to monitor a bunch of applications, which I had to boot up manually. Please ...
10
votes
1answer
503 views

Circular Wrapping Text, minor adjustments

I am actually pretty damn proud of this code, it's my first complex algorithm I have made. Basically it sets a shapes default size and radius based on how many characters are in a string that is ...
5
votes
1answer
323 views

Bouncing square in a box

I wrote my first animation in Java FX and would like a code review. I created StackPane with Rectangle. ...
8
votes
2answers
2k views

Console component in JavaFX

I would like a review on my Console class I made in JavaFX 8. It features the following: A text field where you can enter input, the input gets copied into the ...
3
votes
1answer
41 views

Handling an IRController

At the time I try to write some code to handle an IRController, I got this following classes: ...
4
votes
1answer
180 views

Listing groups by ID and name

I have this JavaFX code which is used for listing groups by ID and name: ...
1
vote
2answers
1k views

JavaFX design writes to static field from constructor

In JavaFX, the lifecycle of an Application is quite different than Swing. Your constructor must take no arguments so that the ...
1
vote
1answer
391 views

Displaying an accordion with a list of connections

This is used to display an accordion with a list of connections using JavaFX. Can you help me to optimize the code to make it much simpler? ...