Bummer...
Guess I'll have to make the patch locally again... :-(
Leif Nelson wrote:
It doesn't look like this patch made it into the RealVNC 4.1 java
sources... bummer. This is still needed to make the tab key work on
my Mac running Java 1.4.2_05.
Thanks,
--Leif
Phil Budne wrote:
Thanks Scott!
It doesn't look like this patch made it into the RealVNC 4.1 java
sources... bummer. This is still needed to make the tab key work on my
Mac running Java 1.4.2_05.
Thanks,
--Leif
Phil Budne wrote:
Thanks Scott!
setFocusTraversalKeysEnabled(false) did the trick for me.
I'm working with an older
Yes, if you see that the first load of the Java Viewer is very slow, and
you are using the Sun JVM, then I have another patch you may be able to
use. My patch however, is for the RealVNC 4.0 windows source, so if
you're using a different version, the patch will be different. In
essence, the VNC
Thanks Scott!
setFocusTraversalKeysEnabled(false) did the trick for me.
I'm working with an older viewer (based on an older "TightVNC"
viewer), that is using SSLSocket, and so is already dependent on the
Java 1.4 runtime, so direct invocation of the method was not a problem.
phil
___
I made a simple patch to the Java Viewer to resolve this issue. Add the
following patch to DesktopWindow.java and it will work like a champ. The
reason this code is written this way is to be backward compatible with
Java releases prior to 1.4:
== Begin Patch ==
$ diff
http://www.javaworld.com/javaworld/jw-07-1998/jw-07-swing-focus-p2.html
says:
With Swing components, you can override the isManagingFocus method
to return true and get Tab and Shift-Tab keystrokes sent to the
component's key listener.
Since AWT seems to eat tabs (for moving input focus)