Have an application that uses a JSplitPane to divide a frame into top and bottom. I am having a problem that the divider only allows limited movement, preventing the bottom pane from being as large as I would like, and it is worse with some look and feels.
I have:
splitPane.setResizeWeight(0.0f);
The bottom pane should get priority on space. but it doesn't.
After frame is visible I get the values of min and max divider location, and this seems to match how much I can move the divider, but what decides these values?
ScreenLayout.getInstanceOf().getLayout().getMaximumDividerLocation());
ScreenLayout.getInstanceOf().getLayout().getDividerLocation()
It is better on Windows than MacOS, and on MacOS it works in a limited way with the standard Aqua Look and feel, but can only make smaller with FlatLaf look and feel

There seems to be a bug that JTabbedPane sets its minimum size based on summing up all the tabs height if they are JScrollPane, so the more tabs added the larger the minimum height of JTabbedPane, there doesn't seem to be an issue if add JTable directly to a JTabbedPane rather than a JTable wrapped in a JScrollPane but that is no use to me.
Outputs
If after creating JTabbedPane with tabs I hardcode
setMinimumSize() the split pane works okay.