-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 1.4.0
-
Component/s: client-libs
-
beta
-
sparc
-
windows_nt
Name: apR10133 Date: 08/14/2000
The HTML titles at JTabbedPane's tabs paints too ugly. Title's text
has incorrect offset to the left side. Compile and run the testcase:
------------------------- Test.java ---------------------------------
import javax.swing.*;
public class Test {
public static void main(String[] argv) {
JFrame fr = new JFrame("Test");
JTabbedPane tabs = new JTabbedPane();
fr.getContentPane().add(tabs);
tabs.addTab("<html>Label</html>", new JPanel());
tabs.addTab("Label", new JPanel());
fr.setSize(200,200);
fr.setVisible(true);
}
}
---------------------------------------------------------------------
======================================================================