Article View: borland.public.jbuilder.java.swing
Article #1435JComboBox editable is Unuseable
From: kelvinq
Date: Mon, 17 Nov 2003 05:52
Date: Mon, 17 Nov 2003 05:52
18 lines
1581 bytes
1581 bytes
The event model for the editable JCombobox is so screwed up that it is Unuseable. I got suspicious when the sun tutorial said "If you want to, you can easily write code to add an item" - weasel words, they are obviously so ashamed of the abject failure of the editable JComboBox that they dont even try to give an example. [btw when will people stop using the phrase "if you want to" - its noise] I tried this: wrote an editable JComboBox example... I found that there is NO WAY of knowing what entry you have edited, the index is returned as -1. There are a lot more problems......DO NOT TRY to use it, the non-editable is OK, event model merely somewhat confused, cf total SNAFU of the editable... some days I get so nostalgic for cpp... kelvinq
Technical Details
Message-ID:
<67d8e1e3.0311162152.33cd244a@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,db5d9bebd69056c2,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-11-16 21:52:17 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: kelvinq415@yahoo.com (kelvinq) Newsgroups: borland.public.jbuilder.java.swing Subject: JComboBox editable is Unuseable Date: 16 Nov 2003 21:52:16 -0800 Organization: http://groups.google.com Lines: 18 Message-ID: <67d8e1e3.0311162152.33cd244a@posting.google.com> NNTP-Posting-Host: 203.134.5.83 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069048337 27329 127.0.0.1 (17 Nov 2003 05:52:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 17 Nov 2003 05:52:17 +0000 (UTC)