Board index » jbuilder » Disply multiple lines

Disply multiple lines


2004-08-30 08:53:42 PM
jbuilder15
Hi everyone,
Is there any way to display multiple lines of text on a cell of jdbTable?
Thank
Thong Nguyen
 
 

Re:Disply multiple lines

T Nguyen wrote:
Quote
Is there any way to display multiple lines of text on a cell of jdbTable?
Have you tried to use a jdbTextArea as the cell renderer?
jdbTable extends from JTable, so much of what you may
know about cell renderers applies to jdbTable. You
may have to nest the renderer in a scroll pane and
return the scroll pane as the renderer component.
You might look at the samples/dbswing/MultiLingual
demo -- do a "search in path" (set to project source
path) for "renderer". That may give you some hints
even though it is a tree cell renderer.
--
Paul Furbacher (TeamB)
Save time, search the archives:
www.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.