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

[PIT] Container size is wrong in JEditorPane

XMLWordPrintable

    • 9
    • b85

        Run the Swing_AllComponents/Automated/LAF_OrientationSuite/JEditorPaneHtmlTest1 test with current JDK9 client state (pre-b78). Sorry, it is not very straightforward but the idea is easy: some simple html text is rendered into a JTextPane in a JPanel. The size of the panel is fixed. In this PIT build, however, HTML is laid out in a bigger container, and scrollbar appeared. See the attached screenshots from b40 and this PIT

          1. b40.png
            b40.png
            8 kB
          2. b78.png
            b78.png
            7 kB

              ssadetsky Semyon Sadetsky (Inactive)
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: