Пример #1
0
 private void loadDeviceList() {
   dev = Utils.listVideoDevices();
   logger.debug("PairThisDeviceDialog : loadDeviceList : Found these video devices: " + dev);
 }
Пример #2
0
 private void setDeviceList() {
   dev = Utils.listVideoDevices();
   logger.debug("PairThisDeviceDialog : setDeviceList : Found these video devices: " + dev);
   camComboBox.setModel(
       new javax.swing.DefaultComboBoxModel<CameraDevice>(dev.toArray(new CameraDevice[] {})));
 }