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



int rows = table.getRowHeight() / frame.getHeight();
.