https://stackoverflow.com/questions/21385904
Question
I have created a JEditorPane and am able to work with other HTML tags other than iframe.
Solution
Watch this side: Youtube iframe API
and this: HTML in Swing Objects
I hope this will help you.