FrozenColumnTable { final int getRowHeight() { return rowHeight; } FrozenColumnTable(@NotNull M model, int frozenColumnCount); final void selectCellAt(int viewRowIndex, int viewColumnIndex); final int getSelectedModelRowIndex(); final int getSelectedModelColumnIndex(); final int[] getSelectedModelRowIndices(); final int[] getSelectedModelColumnIndices(); final int getFrozenColumnCount(); @NotNull final TableColumn getColumn(int viewColumnIndex); @NotNull final JTable getFrozenTable(); @NotNull final JTable getScrollableTable(); @NotNull final Component getScrollPane(); final void putInActionMap(@NotNull Object key, @NotNull Action action); final void addFrozenColumnTableListener(@NotNull FrozenColumnTableListener listener); final void setRowSelectionInterval(int viewRowIndex1, int viewRowIndex2); final void setColumnSelectionInterval(int viewColumnIndex1, int viewColumnIndex2); final int getSelectedRow(); final int getSelectedColumn(); final int getSelectedRowCount(); final int getSelectedColumnCount(); final int getRowCount(); final int getColumnCount(); @NotNull final String getColumnName(int viewColumnIndex); @VisibleForTesting @NotNull final Object getColumnAt(int viewColumnIndex); @NotNull final Object getValueAt(int viewRowIndex, int viewColumnIndex); final boolean editCellAt(int viewRowIndex, int viewColumnIndex); @NotNull final M getModel(); void setModel(@NotNull M model); @Nullable final TableCellEditor getCellEditor();  }
@Test public void getRowHeight() { FrozenColumnTable frozenColumnTable = new FrozenColumnTable(new DefaultTableModel(1, 4), 2); JTable frozenTable = frozenColumnTable.getFrozenTable(); frozenTable.setRowHeight(26); frozenTable.getRowHeight(); JTable scrollableTable = frozenColumnTable.getScrollableTable(); scrollableTable.setRowHeight(29); scrollableTable.getRowHeight(); assertEquals(29, frozenColumnTable.getRowHeight()); }