f



Can Choice components respond to keyboard input like HTML Choice components?

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?


0
ignored (180)
2/2/2004 10:59:48 PM
comp.lang.java.programmer 52714 articles. 1 followers. Post Follow

0 Replies
614 Views

Similar Articles

[PageSpeed] 8

Reply: