summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2011-08-23 22:32:18 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2011-08-23 22:32:18 +0000
commitde7a3c94b7d84d5824faa62f195481d18fe779ff (patch)
treedefb4b8474623758b1b6fac8ee5c656365ce4310
parent41036edc88c83a251d281deb78370cb4dd8b52c5 (diff)
downloadtigervnc-de7a3c94b7d84d5824faa62f195481d18fe779ff.tar.gz
tigervnc-de7a3c94b7d84d5824faa62f195481d18fe779ff.zip
expose jpeg quality level 0 in gui
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4650 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--java/src/com/tigervnc/vncviewer/OptionsDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/tigervnc/vncviewer/OptionsDialog.java b/java/src/com/tigervnc/vncviewer/OptionsDialog.java
index 6eb29099..dac39189 100644
--- a/java/src/com/tigervnc/vncviewer/OptionsDialog.java
+++ b/java/src/com/tigervnc/vncviewer/OptionsDialog.java
@@ -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") {