The JavaFX platform enables developers to create and deploy rich desktop or browser-embedded applications that behave consistently across multiple platforms and browsers.

learn more… | top users | synonyms

1
vote
1answer
17 views

Efficient text to binary conversion in Java

I wrote a Java FX application that translates binary to and from String and numbers in Java. Whenever the program is translating large amounts of text to binary it takes a very long time, and leaves ...
3
votes
0answers
34 views

JavaFX Scene Video Capture Utility

2 days ago as I was working on my game I decided I wanted to include some sort of a video showing sneak peaks of the themes and tutorials and such. I then decided to check how to record my scene or ...
10
votes
1answer
110 views

Follow the Rubberduck - Part 3: JavaFX MVC and MVP Matrjoshka

After the last post had some minor improvements for me and the beta release was actually used for some things, I decided that the GUI was too ugly to continue like this and rewrote the whole GUI in ...
0
votes
0answers
31 views

Updated version of app which does CRUD on a database table

A while ago I created my first Java application. I tried to follow the MVC pattern. I posted my code for review and with the answers I got I did more research and rewrote my code. I gave every ...
2
votes
1answer
60 views

JavaFX app which does CRUD on a database table

I created my first java application for a college assignment. I tried my best to design my application using best practices of MVC design patterns. I have read about it on Stack Overflow and other ...
5
votes
1answer
65 views

A “pointless” animation program

The assignment description for this code is this: Each time the user clicks the Circles button, randomly colored circles flow into the display and continuously change their shapes. Here is a ...
5
votes
2answers
74 views

Tracking Containers in a Train Station

This is a time line for control over the events of some containers in a train station. It gets all the data to build the time line by getting a JSON from a database via REST service. The app resets ...
1
vote
1answer
86 views

Web Page Inspector

I wrote a small JavaFX Application to inspect Javascript within HTML pages. It loads and browses sites, shows the HTML source, shows an overview of the text of a page, provides a simple Javascript ...
10
votes
1answer
281 views

JavaFX custom control - editable label

I have a few custom components, some bigger ones and some smaller ones. I'd like to know if the structure is correct. As in: Is the code to do x in the right places. For starters, I'd just like to ...
1
vote
2answers
252 views

JavaFX FXML/window switcher

I would like to write simple application where I'm going to make a few views: Login Register Main app I think that my method is not the best way to do this. Can someone give me a tip? Main.java <...
1
vote
0answers
68 views

JavaFX save method for two files

I am working on a JavaFX application where the user through a series of textfields and dropdown menus has to create some sort of report. The data from the user are written in an .xml file, I also ...
3
votes
1answer
65 views

Note Management Program

Good night everyone. I spent the last week or so building this pretty cool note management program written with JavaFX. . Buttons are the method used to switch b/w open documents, and the "notes" are ...
5
votes
1answer
857 views

Simple JavaFX Calculator

Good day everyone, I made a simple JavaFX calculator. It does basic calculations, and works to the best of my knowledge. However, I'm a novice at both Java and JavaFX, so I seriously doubt this is as ...
2
votes
2answers
158 views

Maintaining neat JavaFX Controller files

I am developing an ERP system, called 'TeleMart' as a practice at Campus. I have noticed that one of my JavaFX Controller's have become quite complex and large, and most importantly, quite confusing. ...
3
votes
0answers
361 views

Java Navigation System for GUI in JavaFX

I am currently working on a project in Java, and I use JavaFX for the GUI of the System. Currently, I am in the designing phase of the system, where I am designing the look of the system as well as ...
7
votes
1answer
117 views

Detecting keyboard input

I want to use JavaFX as a solution to Java's issues with buffered input making things like 'press any key to continue' not easy. I plan to use an event listener to detect keyboard input. But before I ...
8
votes
2answers
843 views

JavaFX eMail client

I've just finished up a functional emailing client in the Java language. It applies the JavaFX libraries and the ...
3
votes
0answers
82 views

Stylishly saving source

Simple tool to save a web page's source. A result of trying to learn and apply an MVC approach. The FXML is generated via Scene Builder, but included for completion. I welcome any general feedback on ...
1
vote
1answer
79 views

JavaFX await implementation

I'm debating trying to take a crack at getting something similar to C#'s async-co-routine like nature over on JavaFX. This is technically feasible since the Quantem toolkit exposes the ...
3
votes
1answer
51 views

Label with Subtitle

This code shows a title with an image and subtitle: What improvements can I make in this code and is there a better of doing this? ...
5
votes
1answer
87 views

Editing Javascript and rendering HTML in one window

I've been trying to learn the basics of Javascript, so this afternoon I put together a small JavaFX application that has a raw text area on the left, and an HTML rendering on the right: ...
11
votes
2answers
105 views

Options, options, options. None for JavaFX?

I was looking through the JavaFX library, and I spotted that JavaFX DOES NOT HAVE A JOptionPane EQUIVALENT. (Or at least not in my version - as @Legato has said in ...
6
votes
1answer
124 views

Live Graphical Demonstation of a Breadth-First Search Algorithm

As a first step to making a PacMan clone, I wrote a Breadth-First Search demonstration that updates itself live as you draw walls and drag around the start and end points. It was inspired by the site ...
6
votes
1answer
75 views

This LoginPane is a Pain

Well, it really isn't a big pain: but I fear of security risks (if that is even possible). Background: I decided to (sort of) abandon my Sudoku project (because I accidentally deleted it from disk), ...
5
votes
3answers
693 views

Stock control system

I have programmed this simple Stock Control System using JavaFX for GUI and PostgreSQL for a database. Please go through my code and point out flaws, inefficiencies, and better ways of doing things. ...
25
votes
1answer
900 views

Full-color clone of Conway's Game of Life, with a decent GUI

I wrote this to learn JavaFX, and as an excuse to re-make the Game of Life. This is the most complex GUI I've ever written, so I'd like feedback mainly on it, but I'll welcome any criticism! My ...
6
votes
2answers
296 views

Sudoku Puzzle Part 1: Sudoku Class

I was recently given a Sudoku Puzzle to solve, and since I began solving many Sudoku puzzles after, I decided to attempt to create a Sudoku Puzzle viewer with JavaFX. I am not done yet, but have ...
8
votes
3answers
474 views

An alarm application in Java

I have programmed this alarm application in Java using JavaFX for the GUI. I'd like these questions covered in the review: Is my code efficient? Can it be shortened? Are there any flaws in my code? ...
22
votes
3answers
820 views

Network chat app

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
310 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 ...
6
votes
1answer
182 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: ...
7
votes
1answer
605 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
265 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
788 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
223 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 the simpler implementation. Screenshots: Factoring in all the logic/edge ...
6
votes
4answers
4k 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
520 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
345 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
4k 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
364 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
2k 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
286 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
1k 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
514 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
234 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
138 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 ...
7
votes
1answer
410 views

Generic GUI background task runner (Java 8+)

Here is the culprit; headers omitted for brevity, and also, see notes afterwards: ...
12
votes
1answer
352 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
304 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 ...