🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTable Cell Editor - Multiline? Can it be done?

#12533
From: Tommy Cox
Date: Sat, 19 Dec 1998 00:00
24 lines
1454 bytes
Since you have no other answers from anyone, yet.. I seem to recall that
JTable was designed to be a very flexible control and provided interfaces
for what it termed something like "Renderers". I seem to remember that one
could create any kind cell renderer for any specific type of data in your
model. Hope in someway this proves helpful. Maybe others will chip in soon.

Tommy
ICQ#2655768
e-mail: tommycox@mindspring.com

Carla Kessler wrote in message <75a349$rtp7@forums.borland.com>...
>I would like to create a cell in a jtable that wraps, allowing long strings
>to be entered without scrolling behind the next column. If anyone knows a
>way to accomplish this I would appreciate the advice.
>
>I tried to build a cell editor constructing with JTextArea, but, of course,
>discovered it is not possible.
>
>Thanks very much in advance for any help you have to offer.
>
>Carla Kessler
>carner@tscnet.com
>
>
Technical Details
Message-ID: <75i2ee$4u04@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <75a349$rtp7@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b0547ebbcd58310c
X-Google-Attributes: gid111d45,public
From: "Tommy Cox" <tommycox@ameasysoft.com>
Subject: Re: JTable Cell Editor - Multiline? Can it be done?
Date: 1998/12/19
Message-ID: <75i2ee$4u04@forums.borland.com>
X-Deja-AN: 424129943
References: <75a349$rtp7@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing