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

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

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

revision 1352 by iliev, Sun Sep 16 23:24:15 2007 UTC revision 1480 by iliev, Wed Nov 14 21:39:45 2007 UTC
# Line 242  public class JSAddDbInstrumentsFromFileD Line 242  public class JSAddDbInstrumentsFromFileD
242                  int result = fc.showOpenDialog(this);                  int result = fc.showOpenDialog(this);
243                  if(result != JFileChooser.APPROVE_OPTION) return;                  if(result != JFileChooser.APPROVE_OPTION) return;
244                                    
245                  String s = toEscapedString(fc.getSelectedFile().getPath());                  path = fc.getSelectedFile().getAbsolutePath();
246                  cbSource.setSelectedItem(s);                  if(java.io.File.separatorChar == '\\') {
247                            path.replace('\\', '/');
248                    }
249                    path = toEscapedString(path);
250                    cbSource.setSelectedItem(path);
251                  path = fc.getCurrentDirectory().getAbsolutePath();                  path = fc.getCurrentDirectory().getAbsolutePath();
252                  preferences().setStringProperty("lastInstrumentLocation", path);                  preferences().setStringProperty("lastInstrumentLocation", path);
253          }          }

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

  ViewVC Help
Powered by ViewVC