Issue Details (XML | Word | Printable)

Key: SWINGX-1365
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: kleopatra
Reporter: aephyr
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
swingx

Editor for tree column uses the wrong border

Created: 27/Oct/10 11:49 AM   Updated: 31/Mar/11 06:42 AM   Resolved: 31/Mar/11 06:42 AM
Component/s: TreeTable
Affects Version/s: 1.6.2
Fix Version/s: 1.6.3

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 1,365
Tags:
Participants: aephyr and kleopatra


 Description  « Hide

Summary is pretty self explanatory.

The problem stems from using the editor implementation of JTree instead of JTable.



kleopatra added a comment - 31/Mar/11 06:26 AM

yeah, can verify that there's a different border used. But no, it's not the tree editor that's used - editing is handled completely by the table-part of the tree table (and the DefaultCellEditor in its role a TableCellEditor).

Problem is that TreeTableCellEditor extends DefaultCellEditor while the other default editors in the J/X/Table extend GenericEditor (which in turn DefaultCellEditor). GenericEditor behaves rather rude in installing a black line border on everything.

Hmm ... will try to extend GenericEditor - and cross fingers <g>

Cheers
Jeanette


kleopatra added a comment - 31/Mar/11 06:42 AM
  • changed TreeTableCellEditor to extend GenericEditor

committed as of revsision #3990