diff options
author | Keith Packard <keithp@keithp.com> | 2011-04-14 10:12:29 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-04-14 10:12:29 -0700 |
commit | 9cdef76c1275b343099d0d01af82d7eadd36a410 (patch) | |
tree | a5500996924c35b365013bbae61128ee1328c64b /altosui/AltosDeviceDialog.java | |
parent | 5b3f18b38d80aa041b971204bf7a94278bd9584a (diff) |
altosui: Create abstract AltosDevice class
This will wrap either USB or BT devices. The USB device constants have
been moved to Altos.java
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosDeviceDialog.java')
-rw-r--r-- | altosui/AltosDeviceDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosDeviceDialog.java b/altosui/AltosDeviceDialog.java index 2966ad1e..154bf20b 100644 --- a/altosui/AltosDeviceDialog.java +++ b/altosui/AltosDeviceDialog.java @@ -37,7 +37,7 @@ public class AltosDeviceDialog extends JDialog implements ActionListener { Frame frame = JOptionPane.getFrameForComponent(frameComp); AltosDevice[] devices; - devices = AltosDevice.list(product); + devices = AltosUSBDevice.list(product); if (devices != null && devices.length > 0) { value = null; |