Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
3d9a3c57
Commit
3d9a3c57
authored
Aug 26, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jvlc: accept cmdline args for sample client
parent
52e494f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
bindings/java/samples/client/src/main/java/VlcClient.java
bindings/java/samples/client/src/main/java/VlcClient.java
+5
-5
No files found.
bindings/java/samples/client/src/main/java/VlcClient.java
View file @
3d9a3c57
...
@@ -42,12 +42,12 @@ class VLCPlayerFrame extends Frame
...
@@ -42,12 +42,12 @@ class VLCPlayerFrame extends Frame
public
Canvas
jvcanvas
;
public
Canvas
jvcanvas
;
public
VLCPlayerFrame
()
public
VLCPlayerFrame
(
String
[]
args
)
{
{
initComponents
();
initComponents
(
args
);
}
}
private
void
initComponents
()
private
void
initComponents
(
String
[]
args
)
{
{
java
.
awt
.
GridBagConstraints
gridBagConstraints
;
java
.
awt
.
GridBagConstraints
gridBagConstraints
;
...
@@ -63,7 +63,7 @@ class VLCPlayerFrame extends Frame
...
@@ -63,7 +63,7 @@ class VLCPlayerFrame extends Frame
jvcanvas
.
setSize
(
200
,
200
);
jvcanvas
.
setSize
(
200
,
200
);
jvcc
.
add
(
jvcanvas
);
jvcc
.
add
(
jvcanvas
);
jvlc
=
new
JVLC
();
jvlc
=
new
JVLC
(
args
);
playlist
=
new
Playlist
(
jvlc
);
playlist
=
new
Playlist
(
jvlc
);
...
@@ -215,7 +215,7 @@ public class VlcClient
...
@@ -215,7 +215,7 @@ public class VlcClient
public
static
void
main
(
String
[]
args
)
public
static
void
main
(
String
[]
args
)
{
{
Frame
f
=
new
VLCPlayerFrame
();
Frame
f
=
new
VLCPlayerFrame
(
args
);
f
.
setBounds
(
0
,
0
,
500
,
500
);
f
.
setBounds
(
0
,
0
,
500
,
500
);
f
.
addWindowListener
(
new
WindowAdapter
()
f
.
addWindowListener
(
new
WindowAdapter
()
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment