public Canvas jvcanvas;
- public VLCPlayerFrame()
+ public VLCPlayerFrame(String[] args)
{
- initComponents();
+ initComponents(args);
}
- private void initComponents()
+ private void initComponents(String[] args)
{
java.awt.GridBagConstraints gridBagConstraints;
jvcanvas.setSize(200, 200);
jvcc.add(jvcanvas);
- jvlc = new JVLC();
+ jvlc = new JVLC(args);
playlist = new Playlist(jvlc);
public static void main(String[] args)
{
- Frame f = new VLCPlayerFrame();
+ Frame f = new VLCPlayerFrame(args);
f.setBounds(0, 0, 500, 500);
f.addWindowListener(new WindowAdapter()
{