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 |
* |
* |
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(); |