Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes JTable Display Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JTable Display Problem" Watch "JTable Display Problem" New topic
Author

JTable Display Problem

mihir maniar
Ranch Hand

Joined: Sep 09, 2003
Posts: 88
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

Joined: Sep 25, 2004
Posts: 154
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.


Love is GOD and GOD is Love.<br /> <br />Anand Karia<br />Manager I.T<br />Artistic Garment Ind. Pvt. Ltd<br />MSC (Computer Science)
 
I agree. Here's the link: jrebel
 
subject: JTable Display Problem
 
Similar Threads
JTable issues
JTable
jtable
jtable
JTable(!!!)