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

Html content in JEditorPane is overlapping on swing components while resizing the application.

XMLWordPrintable

    • b20
    • 7
    • b134
    • generic
    • generic
    • Verified

      Html content in JEditorPane is rendering on swing components while resizing the window.
      I have observed this odd behavior while reducing the size of the application that contains a EditorPane,Button and ScrollPane.

      Please run the attached java file to reproduce the issue.

      1. Launch the application.
      2. Reduce the size of application by using mouse.

      Now you can see the html content is rendering on top of the swing component.

      Please check the attached screen shots(image1.png and image2.png) for reference.

      JDK Version
      ===========
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b43)
      Java HotSpot(TM) Client VM (build 14.0-b10, mixed mode)


      I have checked in the following OS's.

      Win vista sp1

      Solaris 10 x86.

            rupashka Pavel Porvatov (Inactive)
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: