Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Cortado
Commits
e08167a4
Commit
e08167a4
authored
Mar 15, 2010
by
ogg.k.ogg.k
Browse files
specify window size only once
parent
6f84f21f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/com/fluendo/examples/Player.java
View file @
e08167a4
...
...
@@ -23,12 +23,14 @@ import java.awt.*;
public
class
Player
extends
Frame
{
private
static
final
long
serialVersionUID
=
1L
;
Cortado
applet
;
private
static
final
int
window_width
=
352
;
private
static
final
int
window_height
=
270
;
Cortado
applet
;
public
Player
(
String
url
)
{
applet
=
new
Cortado
();
applet
.
setSize
(
352
,
270
);
setSize
(
352
,
270
);
applet
.
setSize
(
window_width
,
window_height
);
setSize
(
window_width
,
window_height
);
applet
.
setParam
(
"url"
,
url
);
applet
.
setParam
(
"local"
,
"false"
);
...
...
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