Subversion Repositories svn.mios

Compare Revisions

Ignore whitespace Rev 638 → Rev 639

/trunk/java/org/midibox/apps/miosstudio/gui/MIOSStudioGUI.java
78,6 → 78,7
import org.midibox.mios.gui.HexFileUploadDeviceManagerGUI;
import org.midibox.mios.gui.LCDMessageGUI;
import org.midibox.utils.ResourceLoader;
import org.midibox.utils.gui.DialogOwner;
import org.midibox.utils.gui.FontLoader;
import org.midibox.utils.gui.HelpPane;
import org.midibox.utils.gui.ImageLoader;
546,7 → 547,7
optionsMenu.addSeparator();
JMenu thruMenu = new JMenu("MIDI Thru");
 
midiThruMenuItem = new JCheckBoxMenuItem("Enable MIDI Thru");
midiThruMenuItem = new JCheckBoxMenuItem("Send MIDI Thru via Out Port");
midiThruMenuItem.setActionCommand("midi_thru");
midiThruMenuItem.addActionListener(this);
thruMenu.add(midiThruMenuItem);
1048,6 → 1049,7
showFrame(miosTerminalWindow);
 
} else if (ae.getActionCommand().equals("route_internal")) {
showFrame(midiDeviceRoutingWindow);
miosStudio.setRouteIndividualDevices(showInternalMenuItem
.isSelected());
 
1058,7 → 1060,7
showMidiThruFilter();
 
} else if (ae.getActionCommand().equals("midi_thru")) {
miosStudio.setMidiThru(midiThruMenuItem.isSelected());
miosStudio.setMidiThruOutPort(midiThruMenuItem.isSelected());
 
} else if (ae.getActionCommand().equals("help_window")) {
showFrame(helpWindow);
1173,12 → 1175,12
 
public ExternalButtonProperties(
ExternalCommandButton externalCommandButton) {
super();
super(DialogOwner.getFrame(), "External Command Button "
+ (externalCommands.indexOf(externalCommandButton) + 1), false);
this.externalCommandButton = externalCommandButton;
 
setTitle("External Command Button "
+ (externalCommands.indexOf(externalCommandButton) + 1));
 
setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
 
setLayout(new GridBagLayout());