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

Diff of /jsampler/trunk/src/org/jsampler/view/std/JSAddOrEditInstrumentDlg.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 253  public class JSAddOrEditInstrumentDlg ex Line 253  public class JSAddOrEditInstrumentDlg ex
253                          int result = fc.showOpenDialog(JSAddOrEditInstrumentDlg.this);                          int result = fc.showOpenDialog(JSAddOrEditInstrumentDlg.this);
254                          if(result != JFileChooser.APPROVE_OPTION) return;                          if(result != JFileChooser.APPROVE_OPTION) return;
255                                                    
256                          String s = toEscapedString(fc.getSelectedFile().getAbsolutePath());                          path = fc.getSelectedFile().getAbsolutePath();
257                          cbPath.setSelectedItem(s);                          if(java.io.File.separatorChar == '\\') {
258                                    path.replace('\\', '/');
259                            }
260                            path = toEscapedString(path);
261                            cbPath.setSelectedItem(path);
262                          path = fc.getCurrentDirectory().getAbsolutePath();                          path = fc.getCurrentDirectory().getAbsolutePath();
263                          preferences().setStringProperty("lastInstrumentLocation", path);                          preferences().setStringProperty("lastInstrumentLocation", path);
264                  }                  }

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

  ViewVC Help
Powered by ViewVC