swingx
  1. swingx
  2. SWINGX-1479

JXImageView: must respect super's backgroundPainter

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.4
    • Component/s: Misc Component
    • Labels:
      None

      Description

      raised in SO:

      http://stackoverflow.com/questions/8862626/how-to-make-transparent-background-color-of-an-image-that-displayed-through-jxim

      (in the comment by @Adel Boutros)

      As a fix, should replace the checkerPaint, instead install a background painter with a MattePainter(checkerPaint). In paintComponent, delegate to super then paint the image

        Activity

        Hide
        kleopatra added a comment -

        fixed as of revision #4153

        • removed checkerPaint
        • replaced with MattePainter using checkerPaint
        • changed paintComponent to call super
        • added tests
        Show
        kleopatra added a comment - fixed as of revision #4153 removed checkerPaint replaced with MattePainter using checkerPaint changed paintComponent to call super added tests

          People

          • Assignee:
            kleopatra
            Reporter:
            kleopatra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: