OrbUtils.sleepAwhile();
    protected BiosimEditorMain() {        myNamingServiceThread = new Thread(new NamingServiceThread());        myNamingServiceThread.start();        Localizer.addResource("GefBase",                "org.tigris.gef.base.BaseResourceBundle");        Localizer.addResource("GefPres",                "org.tigris.gef.presentation.PresentationResourceBundle");        //Localizer.addResource("EditorBase","com.traclabs.biosim.editor.base.BaseResourceBundle");        Localizer.addLocale(Locale.getDefault());        Localizer.switchCurrentLocale(Locale.getDefault());        ResourceLoader.addResourceExtension("gif");        ResourceLoader.addResourceExtension("png");        ResourceLoader.addResourceLocation("/org/tigris/gef/Images");        //ResourceLoader.addResourceLocation("/com/traclabs/biosim/editor");        ImageIcon biosimIcon = new ImageIcon(                ClassLoader                        .getSystemClassLoader()                        .getResource(                                "com/traclabs/biosim/client/framework/gui/biosim.png"));        // Create and display the main window.        Environment.setProperty("OAPort", Integer.toString(SERVER_OA_PORT));        Environment.setProperty("ORBInitRef.NameService",                "corbaloc::localhost:" + NAMESERVER_PORT + "/NameService");        EditorFrame frame = new EditorFrame("Biosim Editor");        frame.setIconImage(biosimIcon.getImage());        frame.setSize(830, 600);        frame.setVisible(true);    }