• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable within JTable

 
James Edison
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to print 2 JTables on the same page by using the print() method.
I am thinking of putting 2 JTables within cells of another JTable(main table) and call the print method of the main JTable.

The main table contains the ff codes:



The renderer code:


The problem is when I display the main table on JFrame, all I get is 2 empty cells. Can anyone help me find where I am doing wrong?

Thanks!
James
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!