- Timestamp:
- 2010-05-13T13:40:06+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplet.java
r2876 r3239 32 32 33 33 public class MainApplet extends JApplet { 34 35 final static JFrame frame = new JFrame("Java OpenStreetMap Editor"); 34 36 35 37 public static final class UploadPreferencesAction extends JosmAction { … … 96 98 } 97 99 100 // initialize the plaform hook, and 101 Main.determinePlatformHook(); 102 // call the really early hook before we anything else 103 Main.platform.preStartupHook(); 104 105 Main.preConstructorInit(args); 106 98 107 Main.applet = true; 99 108 Main.pref = new ServerSidePreferences(getCodeBase()); 100 109 ((ServerSidePreferences)Main.pref).download(username, password); 101 110 Main.preConstructorInit(args); 102 Main.parent = this;111 Main.parent = frame; 103 112 Main.addListener(); 104 105 // initialize the plaform hook, and106 Main.determinePlatformHook();107 // call the really early hook before we anything else108 Main.platform.preStartupHook();109 113 110 114 new MainCaller().postConstructorProcessCmdLine(args); … … 134 138 135 139 public static void main(String[] args) { 136 final JFrame frame = new JFrame("Java OpenStreetMap Editor");137 140 MainApplet applet = new MainApplet(); 138 141 applet.setStub(new AppletStub() {
Note:
See TracChangeset
for help on using the changeset viewer.