• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable Display Problem

 
mihir maniar
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a JTable in an applet. it shows me some data. the table headers also change as per the database table that i select. my application is capable of doing that. my point is that when the number of columns in a table are less (less than 6)then the table displays properly .if it is more than 7 or 8 then the table becomes very small in size and the data is also not shown. i have the scroll bars (vertical and horizontal) but it is not the problem of scrollbars. it is some thing else. please guide me what to do.i can see the names of the columns clumped. i resize the columns to see the column names but the height of the table decreases to such an extent that it becomes impossinle to view the contents of the table even while scrolling. please guide. thank you
 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plz be confirmed that u are adding rows after default table. like if you have 7 default rows into JTable then when more then 7 data exists then you must be sure that you are adding rows into JTable.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic