1 |
/* |
/* |
2 |
* JSampler - a java front-end for LinuxSampler |
* JSampler - a java front-end for LinuxSampler |
3 |
* |
* |
4 |
* Copyright (C) 2005-2007 Grigor Iliev <grigor@grigoriliev.com> |
* Copyright (C) 2005-2011 Grigor Iliev <grigor@grigoriliev.com> |
5 |
* |
* |
6 |
* This file is part of JSampler. |
* This file is part of JSampler. |
7 |
* |
* |
30 |
import javax.swing.JComboBox; |
import javax.swing.JComboBox; |
31 |
import javax.swing.JPanel; |
import javax.swing.JPanel; |
32 |
|
|
33 |
import net.sf.juife.OkCancelDialog; |
import net.sf.juife.swing.OkCancelDialog; |
34 |
|
|
35 |
import org.jsampler.CC; |
import org.jsampler.CC; |
36 |
import org.jsampler.MidiInstrumentMap; |
import org.jsampler.MidiInstrumentMap; |
37 |
|
import org.jsampler.view.swing.SHF; |
38 |
|
|
39 |
import static org.jsampler.view.classic.ClassicI18n.i18n; |
import static org.jsampler.view.classic.ClassicI18n.i18n; |
40 |
|
|
59 |
*/ |
*/ |
60 |
public |
public |
61 |
RemoveMidiInstrumentMapDlg(MidiInstrumentMap map) { |
RemoveMidiInstrumentMapDlg(MidiInstrumentMap map) { |
62 |
super(CC.getMainFrame(), i18n.getLabel("RemoveMidiInstrumentMapDlg.title")); |
super(SHF.getMainFrame(), i18n.getLabel("RemoveMidiInstrumentMapDlg.title")); |
63 |
JPanel p = new JPanel(); |
JPanel p = new JPanel(); |
64 |
p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); |
p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); |
65 |
p.add(lMap); |
p.add(lMap); |