The JavaFX platform enables developers to create and deploy rich desktop or browser-embedded applications that behave consistently across multiple platforms and browsers.
5
votes
2answers
67 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
56 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
113 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
89 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
19 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 ...
2
votes
0answers
36 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
87 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 ...
3
votes
2answers
95 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
174 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
80 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
344 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
40 views
Stylishly saving source
Simple tool to save a web page's source. Styled to resemble Sublime Text, given frequent personal use. I took the opportunity to learn and apply an MVC approach, the FXML is generated via Scene ...
1
vote
1answer
53 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
42 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
71 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
100 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
96 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
70 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
516 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. ...
23
votes
1answer
630 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
180 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
274 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?
...
21
votes
3answers
554 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
216 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
138 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
202 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
247 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
583 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
146 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
3k 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
515 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
188 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
3k 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
348 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
1k 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
257 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
884 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
400 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
233 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
134 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
0answers
353 views
Generic GUI background task runner (Java 8+)
Here is the culprit; headers omitted for brevity, and also, see notes afterwards:
...
12
votes
1answer
314 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
270 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
3k 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
2k 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
156 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
315 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 ...
14
votes
2answers
1k 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
2k 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 ...