191 |
|
|
192 |
m.addSeparator(); |
m.addSeparator(); |
193 |
|
|
194 |
|
mi = new JMenuItem(i18n.getMenuLabel("instrumentsdb.actions.format")); |
195 |
|
m.add(mi); |
196 |
|
mi.addActionListener(new ActionListener() { |
197 |
|
public void |
198 |
|
actionPerformed(ActionEvent e) { |
199 |
|
String s = i18n.getMessage("InstrumentsDbFrame.formatDatabase?"); |
200 |
|
if(!HF.showYesNoDialog(InstrumentsDbFrame.this, s)) return; |
201 |
|
CC.getTaskQueue().add(new InstrumentsDb.Format()); |
202 |
|
} |
203 |
|
}); |
204 |
|
|
205 |
|
m.addSeparator(); |
206 |
|
|
207 |
loadInstrumentMenu = |
loadInstrumentMenu = |
208 |
new JMenu(i18n.getMenuLabel("instrumentsdb.actions.loadInstrument")); |
new JMenu(i18n.getMenuLabel("instrumentsdb.actions.loadInstrument")); |
209 |
m.add(loadInstrumentMenu); |
m.add(loadInstrumentMenu); |