🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #13156

a bug using JComboBox as cell editor for JTable ???

#13156
From: xzhou
Date: Mon, 14 Sep 1998 00:00
23 lines
1186 bytes
Hi,

The following are steps of recreating a possible bug in the case using a
JComboBox
as the default cell editor for a column of a JTable,
Please let me know if anybody has any experience with this
********************
(1) create a JTable:   _table
(2) create a JComboBox:  _combo
(3) set a column's default cell editor to be _combo
(4) if _combo has more than 5 elemets: >=6,
    then, when at the row 5, 6, ....,
    the list of items of _combo will NOT show when user click those
cells

    if _combo has no more than 5 elements: <=5
    then it seems this will NOT happen
*************

thanks

Xiaodong
xzhou@incentric.com
Technical Details
Message-ID: <35FD4039.61F91470@incentric.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,beefef28d6400c4c,start
X-Google-Attributes: gid111d45,public
From: xzhou <xzhou@incentric.com>
Subject: a bug using JComboBox as cell editor for JTable ???
Date: 1998/09/14
Message-ID: <35FD4039.61F91470@incentric.com>
X-Deja-AN: 391024108
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing