Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4732
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: JComboBox drop-down arrow disappears |
| Date | 2011-11-01 23:19 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <34o1b7hm1cpskgcispkkods2d7j3dhm293@4ax.com> (permalink) |
| References | <d05844e4-ec76-45ca-bcf3-f3fdabfb3356@v33g2000prm.googlegroups.com> |
On Tue, 1 Nov 2011 08:40:06 -0700 (PDT), Amandil <mazwolfe@gmail.com> wrote, quoted or indirectly quoted someone who said : >Does anyone else have this problem? Is it documented anywhere? Calling >removeAllItems() on a JComboBox caused the drop-down arrow to >disappear. It did not reappear even after the JComboBox was >repopulated. >(The code is rather long, though I can attach it if someone would need >it to help with this issue). Tying up the EDT thread so that the system never gets around to handling the repaint is a common cause of such problems. The classic newbie error is sleeping the EDT thread. You might have done a more subtle form of that error. -- Roedy Green Canadian Mind Products http://mindprod.com It's difficult to be rigorous about whether a machine really knows, thinks, etc., because we’re hard put to define these things. We understand human mental processes only slightly better than a fish understands swimming. ~ John McCarthy (born: 1927-09-04 died: 2011-10-23 at age: 84). Inventor of the term AI (Artificial Intelligence), the short-circuit OR operator (|| in Java), and LISP (LIst Processing Language) that makes EMACS (Extensible MACro System) so addictive.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
JComboBox drop-down arrow disappears Amandil <mazwolfe@gmail.com> - 2011-11-01 08:40 -0700
Re: JComboBox drop-down arrow disappears Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-11-01 09:29 -0700
Re: JComboBox drop-down arrow disappears "John B. Matthews" <nospam@nospam.invalid> - 2011-11-01 13:06 -0400
Re: JComboBox drop-down arrow disappears Roedy Green <see_website@mindprod.com.invalid> - 2011-11-01 23:20 -0700
Re: JComboBox drop-down arrow disappears Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-11-01 17:31 +0000
Re: JComboBox drop-down arrow disappears Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-11-01 10:48 -0700
Re: JComboBox drop-down arrow disappears Roedy Green <see_website@mindprod.com.invalid> - 2011-11-01 23:22 -0700
Re: JComboBox drop-down arrow disappears Amandil <mazwolfe@gmail.com> - 2011-11-01 13:22 -0700
Re: JComboBox drop-down arrow disappears Roedy Green <see_website@mindprod.com.invalid> - 2011-11-01 23:19 -0700
Re: JComboBox drop-down arrow disappears Bent C Dalager <bcd@pvv.ntnu.no> - 2011-11-02 09:41 +0000
Re: JComboBox drop-down arrow disappears "dp" <newsgroups@phagia.net> - 2011-11-06 12:14 +0000
csiph-web