swingx
  1. swingx
  2. SWINGX-525

Incorrect animation rendering in JXCollapsiblePane

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.1
    • Component/s: Misc Component
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      525

      Description

      It looks like that due to optimizations in the paint(Graphics g) method, the
      image used for the animations in JXCollapsiblePane is not entirely repainted
      (not at all, sometimes), especially if there is more than one JXCollapsiblePane
      in the application or if the JXCollapsiblePane is initially collapsed.

      I attached a patch, which uses a JViewport instead of a BufferedImage. It works
      for me, but it is not much tested and may need some adjustments.

        Issue Links

          Activity

          grishata created issue -
          kenaiadmin made changes -
          Field Original Value New Value
          issue.field.bugzillaimportkey 525 84785
          made changes -
          Link This issue blocks SWINGX-495 [ SWINGX-495 ]
          Karl Schaefer made changes -
          Affects Version/s 0.9.0 [ 13348 ]
          Affects Version/s pre-0.9 [ 13364 ]

            People

            • Assignee:
              Karl Schaefer
              Reporter:
              grishata
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: