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

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top