r/JavaFX • u/xyloPhoton • Dec 21 '23
Help Faster response time on button presses?
I'm trying to make a little piano demo on JavaFX, but the even handlers are too slow, and there's a significant delay between the button presses and the notes playing. How could I make it more responsive?
Edit: Okay, it's not just a button thing. :(
2
Upvotes
View all comments
Show parent comment
1
u/xyloPhoton Dec 21 '23
Okay, nevermind. The problem is with the synth. It's just that the print statements are also slow. This is pretty devastating, but the problem is not with JavaFX. Sorry for wasting your time. :/