|
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 non english.
public static boolean isNonEnglishChar(char
c)
{ int i = (int) c; System.out.println("char " +c +" =" + i); if( (i<32) || ( i>126)) return true; return false; } Comments ???
- bharat
|
- How to restric japanese characters Bharat
- Re: How to restric japanese characters Ryuichiro Toda
- Re: How to restric japanese characters John Zukowski
- Is JOptionPane internationalized ? Bharat
- Is JOptionPane internationalized ? Bharat
- Re: Is JOptionPane internationalized ? Keith Bennett
- Re: [Advanced-java] Re: Is JOptionPane int... Bharat
- Re: [Advanced-java] Re: Is JOptionPan... Keith Bennett
- RE: How to restric japanese characters Pepelis, Aaron
- RE: How to restric japanese characters KC_Eilander
