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

3
votes
2answers
116 views

Find anagrams from a file

The program reads words line by line from a file. It finds anagram groups and prints them in new line. Except for the GUI class, the anagram class takes 2ms. I would like to be criticized in detail ...
3
votes
0answers
41 views

JavaFX Smoke Effect (Particle Generator algorithm)

I wrote a "Smoke" effect that I thought I'd post for code review. It's a decorative effect for a puzzle game I'm working on--there will be four of these, animated independently, probably with a ...
5
votes
1answer
122 views

Snake in JavaFX

I was unable to sleep on the 17th of December (after 12 AM IST) so I decided to make use of my time. I made a simple Snake game in JavaFX in 3 hours (roughly from 1 AM to 4 AM). Here are all the ...
3
votes
1answer
86 views

Simple JavaFX app pops-up reminders on schedule

My employer gave me a sit-stand desk, but I was forgetting to use it: I just sat almost all day. So for fun and learning I wrote a simple JavaFX reminder app to remind me to alternate between sitting ...
3
votes
0answers
42 views

Hex Color Analyzer in javafx

Here is a simple hex color fetcher and analyzer in javafx that i wrote to understand multi-threading in javafx. Questions: Is my regex ok ? or if it can be improve? I am not much familiar with ...
3
votes
0answers
55 views

Simplified Google Maps program

I've been trying to write a simplified Google Maps program. My programming experience is limited. I have come up with a solution but I'm looking to make it more user friendly by splitting it up into ...
5
votes
2answers
92 views

Simple Java password rule enforcing

rule 1: length must be between 8 and 50 chars. rule 2: at least 3 of the 4 following rules: --------2a: at least one upper case --------2b: at least one lower case --------2c: at least one numeral ----...
3
votes
2answers
115 views

Quadratic Equation Calculator with Java FX

I have designed a quadratic Equation Calculator with Java FX. It is divided into four separate classes: GUI.fxml to design the UI Logic class with the all the ...
1
vote
1answer
63 views

Simple Brainf_ck IDE in JavaFX 8

I have this simple IDE for playing with Brainf_ck. It has no file functionality; only the code, input and output fields are present, and the "compiler" is integrated. Here is how it looks like: My ...
1
vote
0answers
81 views

Creating JavaFX bindable property readed from joystick

I'm lately messing up with handling joystick in java. So here is the thing. I wrote a simple class that handle input from joystick, but I'm no certain if I'm doing it well. Here is what I want to ...
0
votes
0answers
22 views

ScrollPane which allows for wrapping around the screen

I have a ScrollPane which allows for wrapping around the screen through some nice code. However, in order to achieve this I have had to use 5 ImageViews with each of them being the size of the screen. ...
5
votes
1answer
303 views

Playing sound in JavaFX when button is pressed, window pops up

So I made a class for playing a sound in JavaFX when a button is pressed, a window pops up... I don't know about the quality of the code though. I don't know if I used the best way to play the sound. ...
1
vote
1answer
62 views

Twitter Bot to periodically post tweets

This is a bot for Twitter where you can upload an excel file with text in as many rows as you want but in a single column and it posts every row as a tweet every certain time. It stores the ...
1
vote
0answers
345 views

Switching between two JavaFX stages

first Question here :) Basically, I made a function which switches between stages (see Switch Class below). The way I call it is seen in the Controller below. I wanted to ask if this code (in the ...
3
votes
2answers
96 views

Finding vowels, digits, whitespaces and consonants

I am creating a simple app to find vowels, digits, whitespaces and consonants. the basic idea is to practice multi-threading and writing readable code. ...
5
votes
1answer
91 views

Simple (base) Twitch IRC bot

I've created the beginnings of a Twitch IRC bot. As of current, it only has one command (!echo), though the infrastructure is (hopefully) there to library this code ...
1
vote
0answers
52 views

Ping Pong Cryptor app in JavaFX

I am creating a toy app to understand Multi-threading in Java. The app is on Github. Questions: Am I violating any OOP Principals? Is it readable? How can I optimize it? ...
0
votes
1answer
89 views

Finance manager

Somewhat experienced with JavaFX, but this is my first potentially large JavaFX project that I recently started and wanted some feedback on anything that could be done better or more efficiently thus ...
1
vote
2answers
84 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 ...
4
votes
0answers
239 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
143 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
60 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
493 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
113 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
99 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
137 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
966 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
2k 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
180 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
67 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
3k 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
318 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. ...
4
votes
0answers
725 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
211 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
2k 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
165 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
115 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
58 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
110 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
117 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
172 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
86 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
1k 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
1k 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
588 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
1k 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
1k 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
556 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
291 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
1k 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 ...