[Reality] Re: a better text field...

James Knight jknight@MIT.EDU
Tue, 17 Aug 1999 11:28:28 -0400


At 8:46 AM -0400 8/4/99, Phil Christensen wrote:
>I've created a rather beautiful subclass of JTextField called
>HistoryTextField which is a self-contained little number that does all
>the things we need the field to do. It stores a (currently) unlimited
>number of history commands, and will replace any arbitrary character
>with any other arbitrary String, the latter being either anywhere in
>the string or (in our case) at the beginning of the input.

Unfortuanately, it only works in JDK1.2. InputMethodListener stuff is
non-existant in the JDK1.1 version of swing. Isn't it nice how they
indicate that in the documentation too?
-James

--
You are in a maze of testy little Java VMs, all subtly different.