Yeah not having LWJGL as an applet but rather adding some applet to it.
I have this ongoing quest of getting video playback to work properly; now Cortado is an applet that plays theora.
public class VideoPlayerCortado extends JFrame
{
private Cortado cortado;
public VideoPlayerCortado()
{
cortado = new Cortado();
cortado.setBounds(0, 0, this.getWidth(), this.getHeight());
cortado.setVisible(true);
cortado.init();
cortado.restart();
this.getContentPane().add((Panel)cortado);
setIgnoreRepaint(true);
cortado.doPlay();
}
..
}
Deleted everything thats not important: This is how I add an applet to a JFrame.
Can I add an applet to a LWJGL Display, and if so, how ?