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



Royan wrote:
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?

table.getRowHeight();

--
RGB
.