Is there any way that I can change the size of a tab at the top of the window from a JTabbedPane (besides for making spaces when I set the text for the tab) or something like that so that my three tabs will take up the exact amount of space as the width of the window, now I have a big tab and a small tab but with a lot of extra space.

