swingx
  1. swingx
  2. SWINGX-1377

PromptSupport incorrectly paints component without attaching to display hierarchy

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.6.3
    • Component/s: Misc Component
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,377

      Description

      In PromptTextUI.paintPromptComponent, the prompt component is painted without
      ever being added to the display hierarchy. This can cause issues with painting
      in various look and feels (such as Substance, which queries the components
      parent). The component must be added to the display hierarchy to be painted
      correctly.

        Activity

        Hide
        Karl Schaefer added a comment -

        Issue 1377: Fixed the painting problem by temporarily adding the component to
        the display hierarchy by using SwingUtilities.paintComponent.

        src/main/java/org/jdesktop/swingx/plaf/PromptTextUI.java

        Committed revision 3909.

        Show
        Karl Schaefer added a comment - Issue 1377: Fixed the painting problem by temporarily adding the component to the display hierarchy by using SwingUtilities.paintComponent. src/main/java/org/jdesktop/swingx/plaf/PromptTextUI.java Committed revision 3909.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: