All Questions
151 questions
4votes
1answer
181views
Implementing Dependency Injection into a JavaFX CRUD Application
As a learning exercise and potential portfolio piece, I decided to create a Java/JavaFX application with MySQL integration. I used dependency injection because it seemed like the cleanest way to pass ...
6votes
3answers
469views
First Java Program: A Basic GUI Library Management System with JavaFX
Requirements: Add/Delete member. Add/Delete book. Issue/Return book. Review Request: General coding comments, bad practices, style et cetera. Code: Main.java: <...
8votes
2answers
934views
JavaFX app with User Authentication and SQL Persistence
This JavaFX program is just supposed to allow a user to register a username and password and then have it stored in an SQL database. There's been some criticism that it's not clean, readable or ...
3votes
1answer
62views
JavaFx Music Player
I built a small program that searches and plays wav files on your PC. This Java Music Player application is my first comprehensive project. It features a straightforward graphical user interface (GUI) ...
5votes
1answer
102views
ConnectFourFX.java - A Java FX GUI app for playing Connect Four against AI
GitHub The entire project relies here (ConnectFourFX.java) and is dependent on Connect4.java. Code com.github.coderodde.game.connect4.ConnectFourBoard.java: ...
2votes
2answers
102views
Add category section and save in database in admin section with java and javafx using mvc
As I newbie in (java and MVC), I want to know if I understand MVC using java. My concern is that some of the calls of the class are in the wrong place or, for example, I should have used the interface ...
1vote
0answers
63views
WikiGameKillerFX.java - a JavaFX GUI program for solving the Wiki Game instances
I have this GitHub repository. In Wiki Game, players agree on random source and target articles, and attempt to navigate from the source to the target using least number of links. If there is a tie, ...
3votes
1answer
86views
A JavaFX canvas - based UI view component for representing data points in three dimensions
I have this pie chart. It encodes data points in three dimensions, which are encoded via sector radius, sector angle, color intensity of the sector. How it looks like? (See here.) Code ...
3votes
1answer
130views
"2048" game in JavaFX
I wrote my first code in Java and I need constructive criticism and code review. This is an implementation of the well-known "2048" sliding-blocks game. ...
2votes
1answer
88views
A JavaFX program to find out the mouse refresh rate
(See the next version here.) Intro I have this tiny JavaFX program that shows a 800x600 pixel canvas. You are supposed to drag the mouse within the canvas. When you are done dragging, the program will ...
0votes
1answer
94views
Comparing video recording algorithms in Java: no-compression vs. naive diff compressor
Usage of the program is in Facebook. Intro In this JavaFX program, a user is presented with a white canvas with a black circle at the center of the canvas. Then, the user has 10 seconds to record a ...
3votes
1answer
69views
A JavaFX program to find out the mouse refresh rate v2
(See the continuation of this post in A JavaFX program to find out the mouse refresh rate v3.) (This post is a continuation of A JavaFX program to find out the mouse refresh rate.) After adopting the ...
3votes
1answer
63views
Finance Manager with Embedded Database
I made an CRUD application in Java with JavaFX, H2 Embedded Database and Maven. Can you review my code quickly? Is it well written? What should I improve on it? I don't know if my code is written ...
1vote
0answers
51views
A JavaFX program to find out the mouse refresh rate v3
(This post is the continuation of A JavaFX program to find out the mouse refresh rate v2.) After taking @J_H's suggestions into account, I ended up here: ...
3votes
0answers
352views
JavaFX dialog for numeric typed data input
I have this small subclass of JavaFX's javafx.scene.control.Dialog that requires the enum specifying the data type of the input data: ...