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

Some improvements in the EditorPaneDemotest

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        1) In Nimbus L&F, background color is not white, but in the JEditorPane, always it will be white background if image is not available.
        So change the pixel color check to white instead of background color.
        2) Adding assertNotBlack check for captured image, otherwise test will pass whole image is black also.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                akolarkunnu Abdul Kolarkunnu
                Reporter:
                akolarkunnu Abdul Kolarkunnu
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: