[3141] in java-interest
keyboard events
daemon@ATHENA.MIT.EDU (Laura Lemay, Killer of Trees)
Wed Nov 1 16:30:56 1995
Date: Wed, 1 Nov 1995 10:09:37 -0800
To: java-interest@java.sun.com
From: lemayp@lne.com (Laura Lemay, Killer of Trees)
I've been playing with the Java event system -- keyboard events in
particular.
Question: how does Java deal consistently with Return and Enter keys
in a cross-platform way? Does it at all? I ask because if I have a
user interface that depends on the Return key, that return key may
generate different characters on different platforms (its line feed
(ascii 10) on Unix, carriage return on (ascii 13) on Macs, and
both on DOS. Then there's the enter key, which also does different
things on different platforms. Many DOS keyboards don't even have a
Return key -- just enter.
Does the java event system take this into account so a return is a return
is a return regardless of the platform, or is it up to the
programmer to understand the differences and code around it?
Laura
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com