fixed a bug introduced by my rebase after 24bef6b.

This commit is contained in:
Shigeru KANEMOTO 2013-01-16 20:25:57 +09:00 committed by Federico Fissore
parent 02447a0170
commit 093483602f
1 changed files with 5 additions and 7 deletions

View File

@ -118,6 +118,11 @@ public class Base {
static public void main(String args[]) throws Exception {
initPlatform();
// Portable folder
portableFolder = getContentFile("portable");
if (!portableFolder.exists())
portableFolder = null;
// run static initialization that grabs all the prefs
Preferences.init(null);
@ -159,13 +164,6 @@ public class Base {
}
*/
initPlatform();
// Portable folder
portableFolder = getContentFile("portable");
if (!portableFolder.exists())
portableFolder = null;
// // Set the look and feel before opening the window
// try {
// platform.setLookAndFeel();