]Subject: Re: How to restric japanese
characters
Hi folks,
First, I must thank you for all ur responses.
I have come to a solution which is working so
far.
I have added a keylistener to my JtextField which
is validating each character which is typed or pasted
character sets, but not used in
English.
- Mitch
-Original Message-From: Pepelis, Aaron
[mailto:[EMAIL PROTECTED]]Sent: Thursday, September 27, 2001
8:55 AMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]Subject: [Advanced-java] RE: How to restric
japanese characters
, Aaron [EMAIL PROTECTED] on 09/27/2001 06:55:19 AM
Sent by: Pepelis, Aaron [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:(KC Eilander/MTN/US/3Com)
Subject: RE: How to restric japanese characters
remember to do it on a KeyRelease.
Otherwise, the character
]Subject: Re: How to restric japanese
characters
Hi folks,
First, I must thank you for all ur responses.
I have come to a solution which is working so
far.
I have added a keylistener to my JtextField which
is validating each character which is typed or pasted
character sets, but not used in
English.
- Mitch
-Original Message-From: Pepelis, Aaron
[mailto:[EMAIL PROTECTED]]Sent: Thursday, September 27, 2001
8:55 AMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]Subject: [Advanced-java] RE: How to restric
japanese characters
Hi folks,
First, I must thank you for all ur responses.
I have come to a solution which is working so
far.
I have added a keylistener to my JtextField which
is validating each character which is typed or pasted in the
textfiled.
I have written following code to check if the
character is
Hello, Bharat.
Try to use this method.
(JTextField object).enableInputMethods(false);
But this code can't disable copy and paste. If you'd like to restrict this
operation, You have to handle the events.
Thanks,
-Ryu
___
Swing mailing list
[EMAIL
To disable copy and past you can remove the operations from the action map
/ input map.
At 02:26 AM 9/27/2001 +0900, Ryuichiro Toda wrote:
Hello, Bharat.
Try to use this method.
(JTextField object).enableInputMethods(false);
But this code can't disable copy and paste. If you'd like to