swingx
  1. swingx
  2. SWINGX-192

JXTable not updating selection color on L&F theme change

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.0
    • Component/s: Table
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      192

      Description

      Run swinglabs-demos SwingXDemo, click on the Extended Tree.. demo and select a
      row in the table. Change the Display appearance to another color - blue, olive,
      silver via the system's Display properties.

      Notice that the selection color in the table does not change to match the new
      theme color.

        Issue Links

          Activity

          Hide
          kleopatra added a comment -

          Hmm, not sure where to start digging for the reason: there had been core swing
          problems with updating renderers on LF changes (which I assumed to have fixed in
          swingx, but you never know . And I'm not entirely sure if switching themes
          internally is equivalent to switching LF (it should). On the other track, this
          might be related to https://swingx.dev.java.net/issues/show_bug.cgi?id=178:
          weird behaviour of Highlighters even if they don't highlight at all (the
          selection color is grey right from the start on win2k, should be dark blue).

          To start narrowing the possibilities a bit: The only table without highlighters
          in the demos is the one on the hyperlink demo. Could you please check if the
          color is changed there after switching themes?

          Thanks
          Jeanette

          Show
          kleopatra added a comment - Hmm, not sure where to start digging for the reason: there had been core swing problems with updating renderers on LF changes (which I assumed to have fixed in swingx, but you never know . And I'm not entirely sure if switching themes internally is equivalent to switching LF (it should). On the other track, this might be related to https://swingx.dev.java.net/issues/show_bug.cgi?id=178: weird behaviour of Highlighters even if they don't highlight at all (the selection color is grey right from the start on win2k, should be dark blue). To start narrowing the possibilities a bit: The only table without highlighters in the demos is the one on the hyperlink demo. Could you please check if the color is changed there after switching themes? Thanks Jeanette
          Hide
          anns97 added a comment -

          Yes! For the hyperlink demo, I do see the colors change after switching the
          theme, but not for the tables with highlighters.

          Show
          anns97 added a comment - Yes! For the hyperlink demo, I do see the colors change after switching the theme, but not for the tables with highlighters.
          Hide
          kleopatra added a comment -

          currently this is fixed as a result of starting to fix the related #178 (which
          was the underlying reason for this).

          Will keep this open until the base issue is closed as well.

          Jeanette

          Show
          kleopatra added a comment - currently this is fixed as a result of starting to fix the related #178 (which was the underlying reason for this). Will keep this open until the base issue is closed as well. Jeanette
          Hide
          kleopatra added a comment -


          closed the blocking issue - so close this as well.

          Show
          kleopatra added a comment - closed the blocking issue - so close this as well.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: