- } catch (NoSuchPortException ee) {
- JOptionPane.showMessageDialog(AltosUI.this,
- device.tty,
- "No such serial port",
- JOptionPane.ERROR_MESSAGE);
- } catch (PortInUseException ee) {
- JOptionPane.showMessageDialog(AltosUI.this,
- device.tty,
- "Port in use",
- JOptionPane.ERROR_MESSAGE);