changes what connectPanel actionListener is added to

This commit is contained in:
Brendan Haines 2015-03-18 22:23:54 -06:00
parent 83c4c3ee8b
commit 46595bbaac

View File

@ -50,7 +50,7 @@ class GroundStation implements ActionListener {
controllerPanel = new DisplayController( receiveContent ); controllerPanel = new DisplayController( receiveContent );
tabbedPane.add( controllerPanel, "Controller" ); tabbedPane.add( controllerPanel, "Controller" );
connectPanel.addActionListener( controllerPanel ); receiveContent.addActionListener( controllerPanel );
motorTestPanel = new MotorTestPanel( sendContent ); motorTestPanel = new MotorTestPanel( sendContent );
motorTestPanel.setEnabled( false ); motorTestPanel.setEnabled( false );