Thread View: borland.public.jbuilder.java.swing
3 messages
3 total messages
Started by Bradley Kieser
Tue, 03 Feb 2004 00:46
Displaying JPanels in JTable. How?
Author: Bradley Kieser
Date: Tue, 03 Feb 2004 00:46
Date: Tue, 03 Feb 2004 00:46
9 lines
1126 bytes
1126 bytes
Hi, I have a tbale layout of 3 x 3 jpanels. I want to use JTable to contain these panels in a 3 x 3 table. Does anyone have an easy way for me to do this? I don't seem to be able to do it using the JBuilder X designer. Thanks!
Re: Displaying JPanels in JTable. How?
Author: Paul Furbacher
Date: Tue, 03 Feb 2004 02:39
Date: Tue, 03 Feb 2004 02:39
30 lines
1900 bytes
1900 bytes
Bradley Kieser wrote:
> I have a tbale layout of 3 x 3 jpanels. I want to use JTable to contain
> these panels in a 3 x 3 table.
>
> Does anyone have an easy way for me to do this? I don't seem to be able
> to do it using the JBuilder X designer.
A table "layout" is not necessarily best
handled by a table, as in JTable.
Try a grid layout, setting the columns and rows
values to 3 each. A quick demo whipped up just
now seems to work for me.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://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.
Re: Displaying JPanels in JTable. How?
Author: Bradley Kieser
Date: Tue, 03 Feb 2004 10:39
Date: Tue, 03 Feb 2004 10:39
21 lines
1551 bytes
1551 bytes
Thanks Paul! Paul Furbacher wrote: > Bradley Kieser wrote: > > >> I have a tbale layout of 3 x 3 jpanels. I want to use JTable to >> contain these panels in a 3 x 3 table. >> >> Does anyone have an easy way for me to do this? I don't seem to be >> able to do it using the JBuilder X designer. > > > A table "layout" is not necessarily best > handled by a table, as in JTable. > > Try a grid layout, setting the columns and rows > values to 3 each. A quick demo whipped up just > now seems to work for me. >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads