aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java
diff options
context:
space:
mode:
authorhristoterezov <hristo@jitsi.org>2014-05-14 18:01:44 +0300
committerhristoterezov <hristo@jitsi.org>2014-05-14 18:01:44 +0300
commitbac4d9426752ca4962527cbbc19b2e80be77abae (patch)
treeab5b28d90f50435987734586d4ce7005fc133c0a /src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java
parent27fb77b5495790de32a4b2d817442b2b86d5bc73 (diff)
downloadjitsi-bac4d9426752ca4962527cbbc19b2e80be77abae.zip
jitsi-bac4d9426752ca4962527cbbc19b2e80be77abae.tar.gz
jitsi-bac4d9426752ca4962527cbbc19b2e80be77abae.tar.bz2
Limits the number of rows of the field with the available video devices on Windows.
Diffstat (limited to 'src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java b/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java
index dc4754c..c3c25b2 100644
--- a/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java
+++ b/src/net/java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java
@@ -503,13 +503,13 @@ public class MediaConfigurationImpl
{
deviceList = new JList();
deviceList.setModel(model);
- JScrollPane listScroller = new JScrollPane(deviceComboBox);
+ JScrollPane listScroller = new JScrollPane(deviceList);
listScroller.setPreferredSize(new Dimension(200, 38));
deviceList.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
deviceList.setLayoutOrientation(JList.VERTICAL);
deviceList.setVisibleRowCount(-1);
deviceList.setSelectedValue(model.getSelectedItem(), true);
- devicePanel.add(deviceList);
+ devicePanel.add(listScroller);
deviceComponent = deviceList;
}
}