/[svn]/jsampler/trunk/src/org/jsampler/view/classic/NewChannelWizard.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/classic/NewChannelWizard.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1479 by iliev, Sun Sep 16 23:24:15 2007 UTC revision 1480 by iliev, Wed Nov 14 21:39:45 2007 UTC
# Line 625  class InstrumentWizardPage extends UserI Line 625  class InstrumentWizardPage extends UserI
625                  JFileChooser fc = new JFileChooser();                  JFileChooser fc = new JFileChooser();
626                  int result = fc.showOpenDialog(this);                  int result = fc.showOpenDialog(this);
627                  if(result == JFileChooser.APPROVE_OPTION) {                  if(result == JFileChooser.APPROVE_OPTION) {
628                          tfFilename.setText(toEscapedString(fc.getSelectedFile().getPath()));                          String path = fc.getSelectedFile().getPath();
629                            if(java.io.File.separatorChar == '\\') {
630                                    path.replace('\\', '/');
631                            }
632                            tfFilename.setText(toEscapedString(path));
633                  }                  }
634          }          }
635  }  }

Legend:
Removed from v.1479  
changed lines
  Added in v.1480

  ViewVC Help
Powered by ViewVC