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

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

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

revision 1351 by iliev, Tue Sep 11 15:38:28 2007 UTC revision 1352 by iliev, Sun Sep 16 23:24:15 2007 UTC
# Line 67  import org.jsampler.OrchestraModel; Line 67  import org.jsampler.OrchestraModel;
67  import org.jsampler.task.InstrumentsDb;  import org.jsampler.task.InstrumentsDb;
68    
69  import static org.jsampler.view.std.StdI18n.i18n;  import static org.jsampler.view.std.StdI18n.i18n;
70    import static org.linuxsampler.lscp.Parser.*;
71    
72  /**  /**
73   *   *
# Line 468  public class JSInstrumentChooser extends Line 469  public class JSInstrumentChooser extends
469                  JFileChooser fc = new JFileChooser(s);                  JFileChooser fc = new JFileChooser(s);
470                  int result = fc.showOpenDialog(this);                  int result = fc.showOpenDialog(this);
471                  if(result == JFileChooser.APPROVE_OPTION) {                  if(result == JFileChooser.APPROVE_OPTION) {
472                          cbFilename.setSelectedItem(fc.getSelectedFile().getPath());                          cbFilename.setSelectedItem(toEscapedString(fc.getSelectedFile().getPath()));
473                          btnOk.requestFocusInWindow();                          btnOk.requestFocusInWindow();
474                                                    
475                          String path = fc.getCurrentDirectory().getAbsolutePath();                          String path = fc.getCurrentDirectory().getAbsolutePath();

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

  ViewVC Help
Powered by ViewVC