• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating a table

 
pankaj saxena
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,

My questions are:

1. How can I create a JTable with providing column names and 3 empty rows? I have gone through the API but there is no such clue to create a table with this kind of information. It only provides creating a table by providing data and column names.

2. What should I do, when i want to split one column heading into two portions? Example, there is one column with the name "Period of Service" , which is further subdivided into two sub-headings as: 1. "Period From" and 2. "Period To".

thanks.
 
Rob Camick
Ranch Hand
Posts: 2566
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic