Add text to a video played on a JFXPanel

0

I'm doing a desktop application in which I play a video in a JFXPanel (it's what I found to play videos) and it shows text about the video, user-defined text, overwriting the 'paint' method of the floor JFXPanel the video, is there any way to put some kind of panel in front of the video and then add the text? Or go some other way, the goal is to add dynamic text to a video in a java application (I use swing libraries). Greetings and thank you very much!

    
asked by Esteban 03.04.2017 в 02:57
source

1 answer

1

I have solved this issue, it is as simple as putting the panel JFXPanel a JLabel and ready, the video plays in the background of the panel and one can add components swing above.

    
answered by 04.04.2017 / 16:54
source