2 - MIDI-enhet Öppna en dialogruta med innehållet i getMidiDeviceInfo() och låt användaren välja.
4 * Referenser eller objekt?!?
5 tracks.get(tracks.indexOf(noteOffEvent) ???
7 * Hur lägga till MooNote och NoteOff?
8 Internt vid skapandet - Då behövs track
9 Externt new MooNote(...);
11 ...add(MooNote.getNoteOffEvent());
17 Görs uppenbarligen så här:
19 JFrame someFrame = new JFrame();
21 JComponent rootPane = someFrame.getRootPane();
22 ActionMap am = rootPane.getActionMap();
24 Action helpAction = new AbstractAction() {
25 public void actionPerformed(ActionEvent ae) {
28 am.put("help", helpAction);
30 InputMap im = rootPane.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
31 KeyStroke helpKey = KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0);
32 im.put(helpKey, "help");
34 * Oktavförändring i MooKeyboard
35 Mappa F9-F12 till MooKeyboard.setOctave(n) där n = {2, 4, 6, 8}