Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4362226

JTabbedPane's HTML title has incorrect offset

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      windows_nt

      Description



      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);
          }
      }
      ---------------------------------------------------------------------
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              apikalev Andrey Pikalev
              Reporter:
              apikalev Andrey Pikalev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: