/// <summary>
 /// Edits the selected file.
 /// </summary>
 private void editSelectedFile()
 {
     if (__fileJList.getSelectedIndex() >= 2)
     {
         StringTokenizer split = new StringTokenizer((string)__fileJList.getSelectedValue());
         if (split != null)
         {
             string filename = __path + split.nextToken();
             try
             {
                 StateMod_GUIUtil.editFile(filename);
             }
             catch (Exception)
             {
                 Message.printWarning(1, "StateMod_OutputFiles_JFrame." + "editSelectedFile", "Unable to view/edit file \"" + filename + "\"");
             }
         }
     }
 }