🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DropDownCellEditor Question in JTable

#10008
From: Paul Furbacher [TeamB]
Date: Thu, 09 Dec 1999 00:00
19 lines
1377 bytes
Steve Grant wrote:
> 
> I have created a dropdown cell editor for a column in a JTable.  My
> problem is that when I put a value in a cell that is not included in the
> dropdown I get all kinds of exceptions in the output window. Does anyone
> know how to relax this behavior so that the cell, for example, could
> initially have some instructional text not in the the dropdown? Thanks
> in advance for any ideas.

You might want to take a look at the International demo in 
the borland fork of the samples folder.  It has custom 
painters called annotated something or other -- sorry, both
the PeeCees are shut down and I don't keep a copy of the
source on this Mac, so I can't be more specific.  

From that, you might be able to extrapolate.  


Paul Furbacher  (TeamB)
Technical Details
Message-ID: <3850782E.4EEDA6BB@bilbo.bio.purdue.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <385031D9.25F40EA3@well.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,92b1fa09c879d4f8
X-Google-Attributes: gid111d45,public
From: "Paul Furbacher [TeamB]" <pf@bilbo.bio.purdue.edu>
Subject: Re: DropDownCellEditor Question in JTable
Date: 1999/12/09
Message-ID: <3850782E.4EEDA6BB@bilbo.bio.purdue.edu>
X-Deja-AN: 558850388
Content-Transfer-Encoding: 7bit
References: <385031D9.25F40EA3@well.com>
Content-Type: text/plain; charset=us-ascii
Organization: Reverse Alchemy, Inc.
Mime-Version: 1.0
Reply-To: pf@bilbo.bio.purdue.edu
Newsgroups: borland.public.jbuilder.java.swing