🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #184

getInputContext returns null

#184
From: icepaco33
Date: Sun, 20 Aug 2006 06:16
15 lines
1669 bytes
Greetings everybody,
I am trying to use InputMethod in my Java application in order to input
chinese language.  Since I am using Swing components (namely
jTextField) I use the
getINputContext().SelectInputMethod(Locale.SimplifiedChinese)  in order
to activate the Input Method process...

However, the GetInputContext() method returned null...
Anyone know why that is ? As far as I know the InputContext should be
there, I know of no method anyway to put an InputContext into a
Component or an application...

Any help would be appreciated, thanx in advance !

Pascal
Technical Details
Message-ID: <1156054590.521977.245280@p79g2000cwp.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!p79g2000cwp.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,7c6454e4defdb577,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!p79g2000cwp.googlegroups.com!not-for-mail
From: icepaco33@hotmail.com
Newsgroups: borland.public.jbuilder.java.swing
Subject: getInputContext returns null
Date: 19 Aug 2006 23:16:30 -0700
Organization: http://groups.google.com
Lines: 16
Message-ID: <1156054590.521977.245280@p79g2000cwp.googlegroups.com>
NNTP-Posting-Host: 66.131.48.147
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1156054595 25992 127.0.0.1 (20 Aug 2006 06:16:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 20 Aug 2006 06:16:35 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: p79g2000cwp.googlegroups.com; posting-host=66.131.48.147;
   posting-account=yI7_OA0AAABkztaY8WfhQSRGeo8QRef6