]> source.dussan.org Git - tigervnc.git/commitdiff
expose jpeg quality level 0 in gui
authorBrian Hinz <bphinz@users.sourceforge.net>
Tue, 23 Aug 2011 22:32:18 +0000 (22:32 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Tue, 23 Aug 2011 22:32:18 +0000 (22:32 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4650 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tigervnc/vncviewer/OptionsDialog.java

index 6eb290990593dadc1e9bd609df44429b1b625dc3..dac39189555f04895ed30095ff120576b13efe63 100644 (file)
@@ -93,9 +93,9 @@ class OptionsDialog extends Dialog implements
     JLabel compressionLabel = new JLabel("Level (1=fast, 6=best [4-6 are rarely useful])");
     noJpeg = new JCheckBox("Allow JPEG Compression");
     noJpeg.addItemListener(this);
-    Object[] qualityLevels = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
+    Object[] qualityLevels = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
     qualityLevel  = new JComboBox(qualityLevels);
-    JLabel qualityLabel = new JLabel("Level (1=poor, 9=best)");
+    JLabel qualityLabel = new JLabel("Level (0=poor, 9=best)");
     compressLevel.setPreferredSize(qualityLevel.getPreferredSize());
     // Hack to set the left inset on editable JComboBox
     if (UIManager.getLookAndFeel().getID() == "Windows") {