Skip to content
Snippets Groups Projects
Commit 3d9a3c57 authored by littlejohn's avatar littlejohn
Browse files

jvlc: accept cmdline args for sample client

parent 52e494f4
No related branches found
No related tags found
No related merge requests found
......@@ -42,12 +42,12 @@ class VLCPlayerFrame extends Frame
public Canvas jvcanvas;
public VLCPlayerFrame()
public VLCPlayerFrame(String[] args)
{
initComponents();
initComponents(args);
}
private void initComponents()
private void initComponents(String[] args)
{
java.awt.GridBagConstraints gridBagConstraints;
......@@ -63,7 +63,7 @@ class VLCPlayerFrame extends Frame
jvcanvas.setSize(200, 200);
jvcc.add(jvcanvas);
jvlc = new JVLC();
jvlc = new JVLC(args);
playlist = new Playlist(jvlc);
......@@ -215,7 +215,7 @@ public class VlcClient
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()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment