swingx
  1. swingx
  2. SWINGX-1422

JXTable.setColumnSequence() works incorrectly as of 1.6.2, possibly earlier

    Details

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

      Environment independent: happens on Windows XP, Mac OSX, Windows 7 with a variety of JREs (observed in 1.6_17 thru 1.6_24).

      Description

      Our application's JXTable "state saving" is broken as of swingx 1.6.2. Before this release, our users could save the visibility of columns (among other things). Now this no longer works. If you run the attached program, simply hide one of the columns using JXTable's column control popup and click on "Get State". This extracts the column-related information from the JXTable. Now use the column control popup to make the column visible again. If you click on "Set State Column Sequence", the previously saved state gets restored, so the column you previously hid should disappear again- but it doesn't....at least not with swingx 1.6.2. The problem appears to be the JXTable.setColumnSequence() call. If we leave that out (in the test program, click the "Set State No Column Sequence", the column does disappear as expected. Unfortunately, that's not a good workaround as we're also trying to save/restore column order as part of our state.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: