Re: Count how many visible rows can be fetched into a JFrame from JTable
- From: RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx>
- Date: Tue, 15 Apr 2008 10:30:03 +0100
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
.
- References:
- Prev by Date: Count how many visible rows can be fetched into a JFrame from JTable
- Next by Date: Re: Instant Chat System for 1000 simultaneous clients
- Previous by thread: Count how many visible rows can be fetched into a JFrame from JTable
- Next by thread: Re: Count how many visible rows can be fetched into a JFrame from JTable
- Index(es):