Commit e08167a4 authored by ogg.k.ogg.k's avatar ogg.k.ogg.k
Browse files

specify window size only once

parent 6f84f21f
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment