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 ...
11
votes
0answers
64 views
Getting chatty with FX
Applying a lot of unprecedented concepts here, it's a simple chat server capable of handling multiple clients, which are run through JavaFX, and have their individual threads instantiated and handled ...
12
votes
1answer
120 views
Ultimate Tic Tac Toe A.K.A. Tic Tactics
My attempt at this challenge., incorporating lessons from this question, which turned out into a much bigger project than I anticipated, but it works. I'll definitely be refactoring most of this in ...
3
votes
1answer
58 views
Sorting colors by the name of the color
I was in need to sort Colors, so the first thing that I tried was this:
...
5
votes
0answers
52 views
Calculations with FX
There have been a lot of calculators lately. It seems like this community challenge all over again, I didn't make a proper one then, so I'm joining the calculatrain now.
Building from the lessons ...
10
votes
3answers
200 views
Media player at your service
I have a very basic version of a media player built using JavaFX. The project is well segregated and has a different packages for controllers, utils and supporter classes.
My project follows the MVC ...
3
votes
3answers
286 views
JavaFX Tic-Tac-Toe Game
I programmed a Tic Tac Toe game using JavaFX, and I'm looking for a code review of it to improve my skills and practices in Java. It would highly be appreciated if you reviewers emphasize on these ...
10
votes
2answers
122 views
Tic Tac Towards FX
I'm planning on taking on this community challenge. However, before my tics get tactical, I'd appreciate some feedback on he simpler implementation.
Screenshots:
Factoring in all the logic/edge ...
6
votes
4answers
898 views
Playing Card & Deck Class in Java
I am currently learning how to write code in Java. To improve my understanding of OOP concepts, I am creating a playing card and deck class. The deck has the functionality of drawing and shuffling. I ...
11
votes
2answers
504 views
What makes a hero?
This is a simple program meant to show how dynamic JavaFX is. It moves one list item to another and back without having to update the screen directly, thanks to the Observable Collection classes. It ...
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, ...
3
votes
2answers
89 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 ...
10
votes
3answers
2k 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
337 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
368 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
183 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
393 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
181 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
230 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
120 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
...
5
votes
0answers
211 views
Generic GUI background task runner (Java 8+)
Here is the culprit; headers omitted for brevity, and also, see notes afterwards:
...
12
votes
1answer
196 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
205 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
2k 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
116 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
264 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
632 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
646 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
734 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
370 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
214 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
431 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?
...