public static void loadFromText(String text) {
   try {
     if (singleton == null) {
       // default behavior is to create a singleton for
       // an in memory dbserver
       useDBServer();
     }
     singleton.loadFromText(text);
   } catch (Exception e) {
     ExceptionWindow.getExceptionWindow(e);
   }
 }
 public static void createEmpty() {
   try {
     if (singleton == null) {
       // default behavior is to create a singleton for
       // an in memory dbserver
       useDBServer();
     }
     singleton.createEmpty();
   } catch (Exception e) {
     ExceptionWindow.getExceptionWindow(e);
   }
 }
 public static void shutdown() {
   if (singleton != null) {
     singleton.shutdown();
   }
   singleton = null;
 }