jvlcpanel constructor added
authorFilippo Carone <littlejohn@videolan.org>
Sat, 18 Nov 2006 00:47:23 +0000 (00:47 +0000)
committerFilippo Carone <littlejohn@videolan.org>
Sat, 18 Nov 2006 00:47:23 +0000 (00:47 +0000)
org/videolan/jvlc/JVLCPanel.java

index 5edef10..a095c43 100644 (file)
@@ -42,6 +42,15 @@ public class JVLCPanel extends JPanel {
         jvcc = new JVLCCanvas();
         add(jvcc);        
     }
+
+    /**
+     * @param args Arguments to initialize JVLC
+     */
+    public JVLCPanel(String[] args) 
+    {
+        jvcc = new JVLCCanvas(args);
+        add(jvcc);
+    }
     
     /**
      * @param width The width of the panel