Questions tagged [javafx]

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

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
103 views

Algorithm to find connected tiles (percolation)

I wrote a little program in JavaFX which displays a path of neighbouring open tiles going from top to bottom. It should simulate a percolation. The algorithm iterates through the whole grid (every ...
4
votes
0answers
89 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 ...
4
votes
0answers
156 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 ...
4
votes
0answers
1k 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 ...
3
votes
0answers
75 views

Making a fast Mandelbrot Fractal viewer

I'm making a Mandelbrot set viewer in JavaFX. It takes a while, like maybe 5 seconds to finish. Here's my code: ...
3
votes
0answers
1k views

Structure of a serial port reading program

I am writing a serial port communication app. And I thought I could get some feedback about the general structure of the program. If I am doing MVC correct, etc. Since this is a "large" program I ...
3
votes
0answers
209 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
347 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 ...
2
votes
0answers
31 views
2
votes
0answers
269 views

JavaFX lazy loading of images in TableView

This code is based off https://stackoverflow.com/questions/25711103/javafx-combobox-lazy-loading-images but modified to work with a TableCell Firstly, the model object should have an observable ...
2
votes
0answers
96 views

Color picker using WritableImage in JavaFX

I am making my own JavaFX color picker just for learning more about JavaFX. I am rendering a color wheel in JavaFX using WritableImage and I have a ...
2
votes
0answers
151 views

Encapsulation of putpixel is terribly slow in JavaFx

I am trying to write a simple rendering engine in JavaFx and I manage encapsulate putpixel in the way that I pass x,y coordinates and color and it draws pixel of that color to the screen. I also wrote ...
2
votes
0answers
465 views

JavaFX Kings Game

I am working with javafx making a simple Kings game. I am currently in a Java course at school and this is just a side project I am looking to get some feedback on. Main.java ...
2
votes
0answers
8k views

Switching between two JavaFX stages

Basically, I made a function which switches between stages (see the Switch class below). The way I call it is seen in the Controller below. I wanted to ask if this ...
1
vote
0answers
88 views

A JavaFX for generating beeping sound on Windows via JNI

This is my practice program: a simple dialog box using which a user may specify a frequency of a sinus audio signal, and play it via pressing a button. It contains a GUI: App.java ...
1
vote
0answers
159 views

JavaFX Audio Visualizer unsure about MVC / Observer / Listerner design patterns

I have a MP3Player Class that does the Fast Fourier Transform and puts the values in a float array (called bands). Then every 20ms it notifys the Observer (VisualizerController) which then uses ...
1
vote
0answers
27 views

JavaFX FreeTTS program lags on MacOSX. Load wheel

I am working on a personal project and I am new to app development in general also java and javafx. I have some code that works. Only, I am unsure why I get the mac loader wheel once my button to play ...
1
vote
0answers
31 views

Slider with and without notification

In my project the value slider must be sometimes set. Then no notification may be generated because otherwise the new value will written in database again. I have this solved in the following way. Is ...
1
vote
0answers
985 views

Java Reversi Implementation (javafx)

This is a working Reversi game in JavaFX. The user is 'black' and the computer that plays against the user is 'white'. I tried to structure the code to be object oriented, but I am not sure if I am ...
1
vote
0answers
698 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 ...
1
vote
0answers
421 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. ...
1
vote
0answers
161 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? ...
1
vote
0answers
855 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 ...
0
votes
0answers
26 views

CPU Barycentric rendering in JavaFX/Kotlin

I am writing a software renderer for the Kotlin port of Dear ImGui. In order to be feature complete, I needed to add barycentric coloring to some triangles for things such as color pickers. I have ...
0
votes
0answers
471 views

Simple card game with updating GUI

I have coded a simple card game that updates the GUI each second and contains many nodes in game which are used to display game events and animation. People who have tried the game said that their ...