SET_TEMPO = 9,
PREFERENCES = 10,
TRANSPOSE = 11,
- SCALE_VELOCITY = 12;
+ SCALE_VELOCITY = 12,
+ RECORD = 13;
/**
* Constructor of the dialogs.
} catch (Exception ex) {
s = "Manual not found";
}
- pane.add(new JScrollPane(new JTextArea(s, 30, 95)));
+ JTextArea text = new JTextArea(s, 30, 95);
+ text.setLineWrap(true);
+ text.setWrapStyleWord(true);
+ text.setEnabled(false);
+ text.setDisabledTextColor(Color.black);
+ pane.add(new JScrollPane(text));
Action close = new AbstractAction("Close") {
public void actionPerformed(ActionEvent ae) {
setVisible(false);
*/
}
+ private void makeRecordDialog(Container pane) {
+ /* Show a dialog with:
+ "Track" combo box,
+ "Channel" field? (disabled?,
+ "Quantize" pane with
+ "Quantize" checkbox,
+ "Resolution" combo box,
+ "Location" checkboxes and
+ "Duration" checkboxes
+ "Start Recording" button.
+
+ Moosique.record(track);
+ */
+ }
+
private MooNote note;
private JOptionPane optionPane;
private JTextField pitch;