I want to change the textual header of tabs inside JTabbedPane. I need it to be a concatenation of two Strings with line break between them.
For example, if the two Strings are A and B the tab header should look like this:
I know two ways of concatenating Strings with line break:
1. A + "\n" + B
2. "<HTML>" + A + "<BR>" + B
None of the above works when calling addTab() method of JTabbedPane!
Thanks in advance.