title: Is it possible to embed an Iframe into a Java program
body: <p>I would like to know if it is possible to to embed an youtube Iframe in a Java program. I know that you can put <code>html</code> in a <code>JLabel</code> but it didn't work. All I did was</p>
  
  <pre><code>JLabel video = new JLabel("video url here");
  </code></pre>
  
  <p>So I don't really know what to do. I've checked <a href="https://stackoverflow.com/questions/14194022/possible-to-make-a-iframe-in-a-java-applet">this</a>but it didn't help. Can you even put an iframe in Java?</p>
  
  <p>Thanks a lot.</p>