Commit 94f8b4b9 authored by ogg.k.ogg.k's avatar ogg.k.ogg.k
Browse files

fixes to make it work with JDK 1.1

parent d9a4d884
......@@ -81,7 +81,8 @@ public class Cortado extends Applet implements Runnable, MouseMotionListener,
public boolean paused;
public String src;
private PopupMenu menu, subtitlesMenu;
private PopupMenu menu;
private Menu subtitlesMenu;
private Hashtable params = new Hashtable();
private Configure configure;
private Dimension appletDimension;
......@@ -341,7 +342,7 @@ public class Cortado extends Applet implements Runnable, MouseMotionListener,
}
public void createMenu() {
subtitlesMenu = new PopupMenu("Subtitles");
subtitlesMenu = new Menu("Subtitles");
subtitlesMenu.addActionListener(this);
menu = new PopupMenu();
......@@ -387,7 +388,7 @@ public class Cortado extends Applet implements Runnable, MouseMotionListener,
return new Locale(language, country);
}
else {
return new Locale(rfc3066);
return new Locale(rfc3066,"");
}
}
......
Supports Markdown
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