• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JTable Display Problem

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 158
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I child proofed my house but they still get in. Distract them with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic