[Development] Remove support for the "Tight" security type from Java code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4203 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/java/src/com/tigervnc/vncviewer/OptionsFrame.java b/java/src/com/tigervnc/vncviewer/OptionsFrame.java
index 6a50de4..573f21d 100644
--- a/java/src/com/tigervnc/vncviewer/OptionsFrame.java
+++ b/java/src/com/tigervnc/vncviewer/OptionsFrame.java
@@ -41,7 +41,6 @@
"JPEG image quality",
"Cursor shape updates",
"Use CopyRect",
- "Continuous updates",
"Restricted colors",
"Mouse buttons 2 and 3",
"View only",
@@ -57,7 +56,6 @@
{ "Enable", "Ignore", "Disable" },
{ "Yes", "No" },
{ "Yes", "No" },
- { "Yes", "No" },
{ "Normal", "Reversed" },
{ "Yes", "No" },
{ "Auto", "1%", "5%", "10%", "20%", "25%", "50%", "75%", "100%"},
@@ -71,13 +69,12 @@
jpegQualityIndex = 2,
cursorUpdatesIndex = 3,
useCopyRectIndex = 4,
- contUpdatesIndex = 5,
- eightBitColorsIndex = 6,
- mouseButtonIndex = 7,
- viewOnlyIndex = 8,
- scalingFactorIndex = 9,
- scaleCursorIndex = 10,
- shareDesktopIndex = 11;
+ eightBitColorsIndex = 5,
+ mouseButtonIndex = 6,
+ viewOnlyIndex = 7,
+ scalingFactorIndex = 8,
+ scaleCursorIndex = 9,
+ shareDesktopIndex = 10;
Label[] labels = new Label[names.length];
Choice[] choices = new Choice[names.length];
@@ -93,7 +90,6 @@
int compressLevel;
int jpegQuality;
boolean useCopyRect;
- boolean continuousUpdates;
boolean requestCursorUpdates;
boolean ignoreCursorUpdates;
@@ -157,7 +153,6 @@
choices[jpegQualityIndex].select("6");
choices[cursorUpdatesIndex].select("Enable");
choices[useCopyRectIndex].select("Yes");
- choices[contUpdatesIndex].select("No");
choices[eightBitColorsIndex].select("No");
choices[mouseButtonIndex].select("Normal");
choices[viewOnlyIndex].select("No");
@@ -193,7 +188,6 @@
setEncodings();
setColorFormat();
- setContinuousUpdates();
setOtherOptions();
}
@@ -243,21 +237,6 @@
choices[shareDesktopIndex].setEnabled(false);
}
-
- //
- // Disable the "Continuous updates" option. This method is called
- // when we figure out that the server does not support corresponding
- // protocol extensions.
- //
-
- void disableContUpdates() {
- labels[contUpdatesIndex].setEnabled(false);
- choices[contUpdatesIndex].setEnabled(false);
- choices[contUpdatesIndex].select("No");
- continuousUpdates = false;
- }
-
-
//
// setEncodings looks at the encoding, compression level, JPEG
// quality level, cursor shape updates and copyRect choices and sets
@@ -356,18 +335,6 @@
}
//
- // setContinuousUpdates sets continuousUpdates variable depending on
- // the GUI setting. VncViewer monitors the state of this variable and
- // send corresponding protocol messages to the server when necessary.
- //
-
- void setContinuousUpdates() {
-
- continuousUpdates =
- choices[contUpdatesIndex].getSelectedItem().equals("Yes");
- }
-
- //
// setOtherOptions looks at the "other" choices (ones that do not
// cause sending any protocol messages) and sets the boolean flags
// appropriately.
@@ -433,10 +400,6 @@
setColorFormat();
- } else if (source == choices[contUpdatesIndex]) {
-
- setContinuousUpdates();
-
} else if (source == choices[mouseButtonIndex] ||
source == choices[shareDesktopIndex] ||
source == choices[viewOnlyIndex] ||