[SWINGX-1392] JXTable: ColumControlButton lost on LAF change Created: 02/Feb/11  Updated: 22/Feb/11  Resolved: 22/Feb/11

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

Type: Bug Priority: Minor
Reporter: kleopatra Assignee: kleopatra
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


happens if

  • toggle ComponentOrientation
  • change LAF

Comment by kleopatra [ 22/Feb/11 ]

added visual test
happens if the scrollPane resets its layoutManager in updateUI

At its base is the well-known quirkiness of JScrollPane which cannot really cope with CO and corners. JXTable goes some way to mitigate that, by forcing a re-config of the enclosing scrollPane's corner in setCO. That's not perfect because it basically installs the ColumnControll in both upper corners

Comment by kleopatra [ 22/Feb/11 ]

workaround: temporarily remove all upper corners that are the same as the columnControl

applied as of revision #3926

Generated at Sat Apr 30 15:32:21 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.