diff --git a/2006-06-13-tightvnc-java-tab-key.html b/2006-06-13-tightvnc-java-tab-key.html new file mode 100644 index 0000000..1aff8c1 --- /dev/null +++ b/2006-06-13-tightvnc-java-tab-key.html @@ -0,0 +1,8 @@ + + + + + +

Can’t use the Tab key in tightvnc’s Java applet? Try this.

+ + diff --git a/files/tightvnc-java-1-2-7-fixtabs.patch b/files/tightvnc-java-1-2-7-fixtabs.patch new file mode 100644 index 0000000..d2e6c94 --- /dev/null +++ b/files/tightvnc-java-1-2-7-fixtabs.patch @@ -0,0 +1,18 @@ +--- VncCanvas.java 2006-06-13 14:38:17.000000000 -0400 ++++ VncCanvas.java.new 2006-06-13 14:38:02.000000000 -0400 +@@ -75,6 +75,15 @@ + viewer = v; + rfb = viewer.rfb; + ++ try { ++ Class[] paramClasses = new Class[] { Boolean.TYPE }; ++ java.lang.reflect.Method method = ++ this.getClass().getMethod("setFocusTraversalKeysEnabled", ++ paramClasses); ++ Object[] parameters = new Object[] { new Boolean(false) }; ++ method.invoke(this, parameters); ++ } catch (Exception e) { } ++ + tightInflaters = new Inflater[4]; + + cm8 = new DirectColorModel(8, 7, (7 << 3), (3 << 6)); diff --git a/index.html b/index.html index 355e14d..29be790 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,7 @@
  • 2009-Sep-11: Confusing BIND with CNAMEs
  • 2009-Feb-19: The odd case of my mugging
  • 2009-Feb-03: 5-packet TCP connection?
  • +
  • 2006-Jun-16: tightvnc + Java + Tab key
  • 2006-Jun-06: KORG MicroKontrol in Linux
  • 2006-Apr-07: IBM Z60m in Linux
  • 2006-Mar-21: HP ProCurve 2824 Mini-Review
  • diff --git a/markdown/2006-06-13-tightvnc-java-tab-key.md b/markdown/2006-06-13-tightvnc-java-tab-key.md new file mode 100644 index 0000000..487d088 --- /dev/null +++ b/markdown/2006-06-13-tightvnc-java-tab-key.md @@ -0,0 +1,8 @@ + + + + + +Can’t use the Tab key in [tightvnc](http://www.tightvnc.com/)’s Java applet? Try [this](files/tightvnc-java-1-2-7-fixtabs.patch). + + diff --git a/markdown/index.md b/markdown/index.md index d4a0f49..9e6e297 100644 --- a/markdown/index.md +++ b/markdown/index.md @@ -39,6 +39,7 @@ 1. 2009-Sep-11: [Confusing BIND with CNAMEs](2009-09-11-confusing-bind-with-cnames.html) 1. 2009-Feb-19: [The odd case of my mugging](2019-02-19-the-odd-case-of-my-mugging.html) 1. 2009-Feb-03: [5-packet TCP connection?](2009-02-03-5-packet-tcp-connection.html) +1. 2006-Jun-16: [tightvnc + Java + Tab key](2006-06-13-tightvnc-java-tab-key.html) 1. 2006-Jun-06: [KORG MicroKontrol in Linux](2006-06-06-korg-microkontrol-in-linux.html) 1. 2006-Apr-07: [IBM Z60m in Linux](2006-04-07-ibm-z60m-in-linux.html) 1. 2006-Mar-21: [HP ProCurve 2824 Mini-Review](2006-03-21-hp-procurve-2824-mini-review.html)