diff options
| author | Keith Packard <keithp@keithp.com> | 2011-08-08 12:31:48 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-08-08 12:31:48 -0700 | 
| commit | a315b200cd0da1a964f5395cd59660be1b49672b (patch) | |
| tree | ccc1369313bfee5b8f6d20561c327fa9f939db17 /altosui/AltosConfigureUI.java | |
| parent | a65daf94e8fe3e22f770ef76d9104c3dd11d0330 (diff) | |
altosui: Pull out BlueTooth support
This leaves the code in place, but commented out so that it isn't used
until we've got a bluetooth device ready for use.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosConfigureUI.java')
| -rw-r--r-- | altosui/AltosConfigureUI.java | 32 | 
1 files changed, 18 insertions, 14 deletions
| diff --git a/altosui/AltosConfigureUI.java b/altosui/AltosConfigureUI.java index a8a70ffd..abb54c74 100644 --- a/altosui/AltosConfigureUI.java +++ b/altosui/AltosConfigureUI.java @@ -49,7 +49,8 @@ public class AltosConfigureUI  	JRadioButton	serial_debug; -	JButton		manage_bluetooth; +// BLUETOOTH +//	JButton		manage_bluetooth;  	JButton		manage_frequencies;  	/* DocumentListener interface methods */ @@ -202,18 +203,19 @@ public class AltosConfigureUI  		c.anchor = GridBagConstraints.WEST;  		pane.add(serial_debug, c); -		manage_bluetooth = new JButton("Manage Bluetooth"); -		manage_bluetooth.addActionListener(new ActionListener() { -				public void actionPerformed(ActionEvent e) { -					AltosBTManage.show(owner, Altos.bt_known); -				} -			}); -		c.gridx = 0; -		c.gridy = 6; -		c.gridwidth = 2; -		c.fill = GridBagConstraints.NONE; -		c.anchor = GridBagConstraints.WEST; -		pane.add(manage_bluetooth, c); +// BLUETOOTH +//		manage_bluetooth = new JButton("Manage Bluetooth"); +//		manage_bluetooth.addActionListener(new ActionListener() { +//				public void actionPerformed(ActionEvent e) { +//					AltosBTManage.show(owner, Altos.bt_known); +//				} +//			}); +//		c.gridx = 0; +//		c.gridy = 6; +//		c.gridwidth = 2; +//		c.fill = GridBagConstraints.NONE; +//		c.anchor = GridBagConstraints.WEST; +//		pane.add(manage_bluetooth, c);  		manage_frequencies = new JButton("Manage Frequencies");  		manage_frequencies.addActionListener(new ActionListener() { @@ -221,7 +223,9 @@ public class AltosConfigureUI  					AltosConfigFreqUI.show(owner);  				}  			}); -		c.gridx = 2; +// BLUETOOTH +//		c.gridx = 2; +		c.gridx = 1;  		c.gridy = 6;  		c.gridwidth = 2;  		c.fill = GridBagConstraints.NONE; | 
