Пример #1
0
  public void _init() {
    super._init();

    myProjectName.setText(myOptions.getProjectName());
    myProjectPath.setPath(myOptions.getProjectPath());

    updateProjectPath();
  }
Пример #2
0
 private void updateProjectPath() {
   String projectsPath = getProjectsDir();
   if (myProjectPath.getPath() == null
       || myProjectPath.getPath().length() == 0
       || myProjectPath.getPath().startsWith(projectsPath)) {
     myProjectPath.setPath(projectsPath + File.separator + myProjectName.getText());
   }
 }