public JWP(String[] args) throws RegistryFormatException {
    super("Main Editor");

    init();
    setVisible(true);
    if (args != null && args.length > 0) {
      for (int i = 0; i < args.length; i++) {
        getDesktopManager().createDocumentFrame(new File(args[i]));
      }
    }
    else {
      if (getRegistry().getBoolean("USER", "open.blank.default")) {
        getDesktopManager().createDocumentFrame();
      }
    }
  }