Can I put some tabs to the left and others to the right in a JTabbedPane?

Can I put some tabs to the left and others to the right in a JTabbedPane? Or at least to add some tabs, then add an empty space, and then add other tabs?

Thanks!

Answer

No, unfortunately, those behaviors are not supported by Swing (or SWT, for that matter).

(My interpretation of your question, since there seems to be some confusion, is that you were looking for behavior like this:

tab bar with separated tabs)

Leave a Reply

Your email address will not be published. Required fields are marked *