M
Mickey Segal
Users expect Choice components to respond to keyboard input similarly to
HTML Choice components. This keyboard-responsiveness is not coded into
standard Java Choice components. One would expect that adding appropriate
listeners and events could produce the HTML-like functionality, but this
does not appear to work.
At http://segal.org/java/ChoiceKey2/index.html is a small working applet
with full source code to demonstrate this problem. The desired behavior
occurs with neither the Sun JVM nor the Microsoft JVM; each departs from
user expectations in different ways.
Is there some way to do this properly in Java 1.1 (without Swing) or is this
a limitation of dealing with native components that can't be overcome in
this environment?
HTML Choice components. This keyboard-responsiveness is not coded into
standard Java Choice components. One would expect that adding appropriate
listeners and events could produce the HTML-like functionality, but this
does not appear to work.
At http://segal.org/java/ChoiceKey2/index.html is a small working applet
with full source code to demonstrate this problem. The desired behavior
occurs with neither the Sun JVM nor the Microsoft JVM; each departs from
user expectations in different ways.
Is there some way to do this properly in Java 1.1 (without Swing) or is this
a limitation of dealing with native components that can't be overcome in
this environment?