You'd must set the row height manually, or embed a TableModelListener to re-calculate it upon modification.
public class RowResizer implements TableModelListener
{
private JTable table;...
Type: Posts; User: jlbana
You'd must set the row height manually, or embed a TableModelListener to re-calculate it upon modification.
public class RowResizer implements TableModelListener
{
private JTable table;...
I believe what you're trying to alter is the divider's location, with JSplitPane.setDividerLocation() method.
// For the divider to be
// precisely at the middle.
JSplitPane pane = new...