67 |
import org.linuxsampler.lscp.SamplerEngine; |
import org.linuxsampler.lscp.SamplerEngine; |
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 |
/** |
/** |
598 |
int result = fc.showOpenDialog(this); |
int result = fc.showOpenDialog(this); |
599 |
if(result != JFileChooser.APPROVE_OPTION) return; |
if(result != JFileChooser.APPROVE_OPTION) return; |
600 |
|
|
601 |
cbFilename.setSelectedItem(fc.getSelectedFile().getPath()); |
cbFilename.setSelectedItem(toEscapedString(fc.getSelectedFile().getPath())); |
602 |
String path = fc.getCurrentDirectory().getAbsolutePath(); |
String path = fc.getCurrentDirectory().getAbsolutePath(); |
603 |
preferences().setStringProperty("lastInstrumentLocation", path); |
preferences().setStringProperty("lastInstrumentLocation", path); |
604 |
} |
} |