Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java GUI > Count how many ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 9634 of 9959
Post > Topic >>

Count how many visible rows can be fetched into a JFrame from JTable

by Royan <romayankin@[EMAIL PROTECTED] > Apr 14, 2008 at 02:41 PM

I have a JTable embedded into a JFrame. However as far as the number
of rows in my application is almost always higher then it is possible
to display (without showing scrollbar), i want to be able to retrieve
the height of one JTable row and calculate the number of rows that
could be fetched into the current height of the JFrame. The problem is
that I do not quite understand how do i get the height of a row in a
particular JTable?
 




 7 Posts in Topic:
Count how many visible rows can be fetched into a JFrame from JT
Royan <romayankin@[EMA  2008-04-14 14:41:18 
Re: Count how many visible rows can be fetched into a JFrame fro
RedGrittyBrick <RedGri  2008-04-15 10:30:03 
Re: Count how many visible rows can be fetched into a JFrame fro
Chase Preuninger <chas  2008-04-16 06:17:45 
Re: Count how many visible rows can be fetched into a JFrame fro
"David A. Redick&quo  2008-04-19 18:17:26 
Re: Count how many visible rows can be fetched into a JFrame fro
Roedy Green <see_websi  2008-04-20 10:01:29 
Re: Count how many visible rows can be fetched into a JFrame fro
Royan <romayankin@[EMA  2008-04-20 14:58:57 
Re: Count how many visible rows can be fetched into a JFrame fro
RedGrittyBrick <RedGri  2008-04-21 09:48:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 12:13:08 CDT 2008.