[SWINGX-1377] PromptSupport incorrectly paints component without attaching to display hierarchy Created: 17/Dec/10  Updated: 28/Jan/11  Resolved: 17/Dec/10

Status: Resolved
Project: swingx
Component/s: Misc Component
Affects Version/s: 1.6.3
Fix Version/s: 1.6.3

Type: Bug Priority: Blocker
Reporter: Karl Schaefer Assignee: Karl Schaefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Issuezilla Id: 1,377


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

Comment by Karl Schaefer [ 17/Dec/10 ]

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


Committed revision 3909.

Generated at Fri May 06 21:00:52 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.