From bac4d9426752ca4962527cbbc19b2e80be77abae Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Wed, 14 May 2014 18:01:44 +0300 Subject: Limits the number of rows of the field with the available video devices on Windows. --- .../java/sip/communicator/impl/neomedia/MediaConfigurationImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/java/sip/communicator') 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; } } -- cgit v1.1