+ 1
Zooming in JavaFX??
I'm trying to create a media player in Netbeans using java FX. I already added some basic functionalities but I want to add a zoom feature which zooms in and out of the video being played just like in VLC media player on mouse scrolling. Does anyone know how to implement it??
3 Answers
+ 1
Did you try to resize the video container? e.g.
On scroll wheel up
width += 20
height += 20
On scroll whell down
width -= 20
height -= 20
+ 1
hey TurtleShell,
Actually I am trying to resize the mediaView, Is this the correct approach?
0
I think it should be fine