swingx
  1. swingx
  2. SWINGX-1365

Editor for tree column uses the wrong border

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3
    • Component/s: TreeTable
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,365

      Description

      Summary is pretty self explanatory.

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

        Activity

        Hide
        kleopatra added a comment -
        • changed TreeTableCellEditor to extend GenericEditor

        committed as of revsision #3990

        Show
        kleopatra added a comment - changed TreeTableCellEditor to extend GenericEditor committed as of revsision #3990
        Hide
        kleopatra added a comment -

        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

        Show
        kleopatra added a comment - 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

          People

          • Assignee:
            kleopatra
            Reporter:
            aephyr
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: