[SWINGX-1547] JXPanel: define painting behaviour Created: 27/Feb/13  Updated: 27/Feb/13

Status: Open
Project: swingx
Component/s: Misc Component
Affects Version/s: None
Fix Version/s: 1.6.6

Type: Task Priority: Major
Reporter: kleopatra Assignee: Karl Schaefer
Resolution: Unresolved Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
is related to SWINGX-1518 JXPanel: umbrella issue for paint pro... Closed
SWINGX-1548 JXPanel: SwingX-painter vs. LAF-provi... Sub-task Open Karl Schaefer  
SWINGX-1549 JXPanel: (semi-) transparent backgrou... Sub-task Open Karl Schaefer  
Tags: JXPanel, painting


In the recent discussions (following the regression in 1.6.5) it turned out that the painting behaviour isn't fully defined which leads to differing expectations.

So starting this as a task to

  • define the contracts/behaviour
  • implement as defined

It's an umbrella for several aspects, covered in separate sub-tasks. Ideally, there'll be animated discussions with many participants about all aspects, either in the tasks or in the forum, best with visual examples of what/how/not is painted (slightly hampered by no longer being able to attach anything to jira issues - when did that change?)

Below are some aspects (edit/add as appropriate)

Paint layer, from lowest to highest:

  • background color
  • background painter (swingx and/or core/laf provided)
  • foreground (== content painted by laf)


  • container alpha property
  • background color alpha channel


  • contract of isOpaque
  • developer's intention

The developer should have full control of what is painted. The system should take over all the heavy lifting and automatically take care of not violating contracts.

Comment by kleopatra [ 27/Feb/13 ]

tackling the new tasks must not break the fixes of the older issues

Generated at Sun Oct 23 23:06:12 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.