Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19244
| Path | csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <-@.> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Combobox Project: How to put 4 text items in the combobox |
| Date | Wed, 10 Oct 2012 16:53:57 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 18 |
| Message-ID | <k551qn$k4b$1@dont-email.me> (permalink) |
| References | <f8e072b4-0c3c-4aac-9ded-83c5962cab9a@googlegroups.com> <eb02218c-281f-4c3e-9219-291e23ee6fce@googlegroups.com> <k550dp$dlk$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Wed, 10 Oct 2012 23:53:59 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="20619"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aGwnpUh5ujOZwJu+KE2wAPIIrmaZle7k=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
| In-Reply-To | <k550dp$dlk$1@dont-email.me> |
| Cancel-Lock | sha1:wFIUxMG58N6Cx06bjpd1ch0bGMY= |
| Xref | csiph.com comp.lang.java.programmer:19244 |
Show key headers only | View raw
On 10/10/2012 4:30 PM, Knute Johnson wrote:
>
> public void actionPerformed(ActionEvent ae) {
> JComboBox<KColor> box = (JComboBox<KColor>)ae.getSource();
>
> class KColor extends Color {
Your example is much shorter than the OP's, and more clear too (two
things that usually go hand in hand). However the OP used a
ComboBoxEditor, so I wonder if that was the point of his example, or
just an implementation detail.
Of course, he never said....
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Combobox Project: How to put 4 text items in the combobox christopher.m.lusardi@gmail.com - 2012-10-10 12:41 -0700
Re: Combobox Project: How to put 4 text items in the combobox Knute Johnson <nospam@knutejohnson.com> - 2012-10-10 13:31 -0700
Re: Combobox Project: How to put 4 text items in the combobox clusardi2k@aol.com - 2012-10-10 14:35 -0700
Re: Combobox Project: How to put 4 text items in the combobox Knute Johnson <nospam@knutejohnson.com> - 2012-10-10 16:30 -0700
Re: Combobox Project: How to put 4 text items in the combobox markspace <-@.> - 2012-10-10 16:53 -0700
Re: Combobox Project: How to put 4 text items in the combobox Roedy Green <see_website@mindprod.com.invalid> - 2012-10-11 14:29 -0700
csiph-web