public ControlPointFrame() throws IOException {
   setSize(480, 600);
   addList();
   setVisible(true);
   ControlPoint controlPoint = new ControlPoint(this, this);
   controlPoint.start();
   controlPoint.search();
 }
 @Override
 public void deviceListChanged(ControlPoint controlPoint) {
   model.removeAllElements();
   for (Map.Entry<String, DeviceModel> entry : controlPoint.getDeviceModels().entrySet()) {
     model.addElement(entry.getValue());
   }
 }