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 |
* |
* |
219 |
int result = fc.showOpenDialog(this); |
int result = fc.showOpenDialog(this); |
220 |
if(result != JFileChooser.APPROVE_OPTION) return; |
if(result != JFileChooser.APPROVE_OPTION) return; |
221 |
|
|
222 |
cbSource.setSelectedItem(fc.getSelectedFile().getPath()); |
String s = toEscapedString(fc.getSelectedFile().getPath()); |
223 |
|
cbSource.setSelectedItem(s); |
224 |
path = fc.getCurrentDirectory().getAbsolutePath(); |
path = fc.getCurrentDirectory().getAbsolutePath(); |
225 |
preferences().setStringProperty("lastInstrumentLocation", path); |
preferences().setStringProperty("lastInstrumentLocation", path); |
226 |
} |
} |