Hi,
Maybe you could remove the corresponding KeyStroke from JComboBox's InputMap
.
Regards,
Arnaud
> Thanks,
>
[quoted text clipped - 8 lines]
>
> jdk1.4
:-o - 12 May 2005 20:50 GMT
I tried removing the keystroke from the inputmap and still consumes <enter> key
> Hi,
>
[quoted text clipped - 19 lines]
> >
> > jdk1.4
:-o wrote:
>
[quoted text clipped - 10 lines]
>
> jdk1.4
You say this happens only on the first time. What happens the next time
you modify the text then hit <enter>?
If you have registered an ItemListener on the JComboBox, it should be
invoked either twice every time you type the <enter> key after you
change the text: once to report that the original item was deselected,
and again to report that the new item has been selected.
If you turn somehow turn off <enter> from firing itemListeners, how will
your application know when you have finished entering a new value?

Signature
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Common User Interface Services
M/S 2R-94 (206)544-5225
#! rnews 1487
Xref: xyzzy comp.lang.java.gui:128011
Newsgroups: comp.lang.java.gui
Path: xyzzy!nntp
From: "Fred L. Kleinschmidt" <fred.l.kleinschmidt@nospam_boeing.com>
Subject: Re: Animated GIF Freezes in the first cycle
X-Nntp-Posting-Host: xpc-ps-59.nw.nos.boeing.com
Content-Type: text/plain; charset=us-ascii
Message-ID: <42836EEF.328703C5@nospam_boeing.com>
Sender: nntp@news.boeing.com (Boeing NNTP News Access)
Content-Transfer-Encoding: 7bit
Organization: Boeing
X-Accept-Language: en
References: <a%Age.1637$OU1.1090@newsread3.news.pas.earthlink.net>
Mime-Version: 1.0
Date: Thu, 12 May 2005 14:57:51 GMT
X-Mailer: Mozilla 4.79 [en]C-CCK-MCD Boeing Kit (Windows NT 5.0; U)
Bud Curtis wrote:
>
> I added an animated GIF to a JLabel's Icon, but the animation doesn't
[quoted text clipped - 14 lines]
> Bud Curtis
> Colorado Springs, CO
What's a JarItemRenderer?

Signature
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Common User Interface Services
M/S 2R-94 (206)544-5225
remove the itemlistener from the code like this..
combobox.removeItemListener() and you can again implement it when ever you
want..