private void populatePropertiesFiles() {
    List<@NlsSafe String> paths = suggestPropertiesFiles();
    final String lastUrl = suggestSelectedFileUrl();
    final String lastPath = lastUrl == null ? null : FileUtil.toSystemDependentName(VfsUtilCore.urlToPath(lastUrl));
    if (lastPath != null) {
      paths.remove(lastPath);
      paths.add(0, lastPath);
    }
    myPropertiesFile.setHistory(paths);
    if (lastPath != null) {
      myPropertiesFile.setSelectedItem(lastPath);
      myPropertiesFile.setText(lastPath);
    }
    if (myPropertiesFile.getSelectedIndex() == -1 && !paths.isEmpty()) {
      String selectedItem = paths.get(0);
      myPropertiesFile.setSelectedItem(selectedItem);
      myPropertiesFile.setText(selectedItem);
    }
  }
private void populatePropertiesFiles()