How to set the JTabbedPane Tab background and Foreground, Height and Width (Both selected and Unselected Tab)
You can control the height as follows:
JTabbedPane tabs = new JTabbedPane();
tabs.setUI(new BasicTabbedPaneUI() {
@Override
protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight) {
return 45; // manipulate this number however you please.
}
});
If each tab needs to be a different height, this answer might also be useful: How to handle the height of the tab title in JTabbedPane