/[svn]/jsampler/trunk/src/org/jsampler/view/std/JSAddDbInstrumentsFromDirDlg.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/std/JSAddDbInstrumentsFromDirDlg.java

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

revision 1479 by iliev, Sat Sep 22 17:27:06 2007 UTC revision 1480 by iliev, Wed Nov 14 21:39:45 2007 UTC
# Line 222  public class JSAddDbInstrumentsFromDirDl Line 222  public class JSAddDbInstrumentsFromDirDl
222                  int result = fc.showOpenDialog(this);                  int result = fc.showOpenDialog(this);
223                  if(result != JFileChooser.APPROVE_OPTION) return;                  if(result != JFileChooser.APPROVE_OPTION) return;
224                                    
225                  String s = toEscapedString(fc.getSelectedFile().getPath());                  path = fc.getSelectedFile().getAbsolutePath();
226                  cbSource.setSelectedItem(s);                  if(java.io.File.separatorChar == '\\') {
227                            path.replace('\\', '/');
228                    }
229                    path = toEscapedString(path);
230                    cbSource.setSelectedItem(path);
231                  path = fc.getCurrentDirectory().getAbsolutePath();                  path = fc.getCurrentDirectory().getAbsolutePath();
232                  preferences().setStringProperty("lastInstrumentLocation", path);                  preferences().setStringProperty("lastInstrumentLocation", path);
233          }          }

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

  ViewVC Help
Powered by ViewVC