58 |
import org.jsampler.task.InstrumentsDb; |
import org.jsampler.task.InstrumentsDb; |
59 |
|
|
60 |
import static org.jsampler.view.std.StdI18n.i18n; |
import static org.jsampler.view.std.StdI18n.i18n; |
61 |
|
import static org.linuxsampler.lscp.Parser.*; |
62 |
|
|
63 |
/** |
/** |
64 |
* |
* |
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 |
cbSource.setSelectedItem(fc.getSelectedFile().getPath()); |
String s = toEscapedString(fc.getSelectedFile().getPath()); |
246 |
|
cbSource.setSelectedItem(s); |
247 |
path = fc.getCurrentDirectory().getAbsolutePath(); |
path = fc.getCurrentDirectory().getAbsolutePath(); |
248 |
preferences().setStringProperty("lastInstrumentLocation", path); |
preferences().setStringProperty("lastInstrumentLocation", path); |
249 |
} |
} |