- pane.add(test_voice, c);
-
- /* Log directory settings */
- c.gridx = 0;
- c.gridy = 2;
- c.gridwidth = 1;
- c.fill = GridBagConstraints.NONE;
- c.anchor = GridBagConstraints.WEST;
- pane.add(new JLabel("Log Directory"), c);
-
- configure_log = new JButton(AltosPreferences.logdir().getPath());
- configure_log.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent e) {
- AltosPreferences.ConfigureLog();
- configure_log.setText(AltosPreferences.logdir().getPath());
- }
- });
- c.gridx = 1;
- c.gridy = 2;
- c.gridwidth = 2;
- c.fill = GridBagConstraints.BOTH;
- c.anchor = GridBagConstraints.WEST;
- pane.add(configure_log, c);
+ pane.add(test_voice, constraints(2, 1));
+ test_voice.setToolTipText("Play a stock audio clip to check volume");
+ row++;
+ }