swingx
  1. swingx
  2. SWINGX-466

LookAndFeelAddon:alternative Locales (for swingx.properties) lost

    Details

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

      Operating System: All
      Platform: All

    • Issuezilla Id:
      466

      Description

      The basic problem is that UIManager.get(someKey, someLocale) is not served
      correctly, see XLocalizeIssues.testGetLocaleUIDefaults - I think it's related to
      the first shot for fixing Issue 159: when copying the key/value pairs the
      hierarchical lookup of localized resources is lost, only the values for the
      default Locales are copied. As copying was a quick hack anyway, we probably
      should give it another try to solve.

      this blocks Issue 459 (localized resources in JXTable not updated in setLocale),
      there's the same problem for all SwingX components which have localized resources.

        Issue Links

          Activity

          Hide
          kleopatra added a comment -

          forgot: yeah, I agree that copying the bundle is a ugly hack - but that was the
          only thing (I assume, as it was Fred's construction site that halfway worked
          at that time. The situation before was worse than this hack, as some
          properties came up localized and others not (in the exact same application).

          Jeanette

          Show
          kleopatra added a comment - forgot: yeah, I agree that copying the bundle is a ugly hack - but that was the only thing (I assume, as it was Fred's construction site that halfway worked at that time. The situation before was worse than this hack, as some properties came up localized and others not (in the exact same application). Jeanette
          Hide
          kleopatra added a comment -

          hmm ... are we confident enough to close this? Didn't experience any problems
          recently, dynamic locale switching looks okay now (if the concrete swingx
          component takes care of updating its own state - don't know if all do already,
          but that's another issue

          Jeanette

          Show
          kleopatra added a comment - hmm ... are we confident enough to close this? Didn't experience any problems recently, dynamic locale switching looks okay now (if the concrete swingx component takes care of updating its own state - don't know if all do already, but that's another issue Jeanette
          Hide
          kleopatra added a comment -

          rephrasing the question: which milestone feel we confident to close this for?

          (oops .. what a sentence, word ordering like they felt <g>)

          Show
          kleopatra added a comment - rephrasing the question: which milestone feel we confident to close this for? (oops .. what a sentence, word ordering like they felt <g>)
          Hide
          Karl Schaefer added a comment -

          I say we close for 0.9.1. I think the resource bundle issues here is done.

          We need another issue for creating the tools to ensure that locale updating
          correctly occurs and does not clobber user-defined strings/values.

          Been toying with some ideas. Will post them later to the forum.

          Assigning to me, BTW.

          Show
          Karl Schaefer added a comment - I say we close for 0.9.1. I think the resource bundle issues here is done. We need another issue for creating the tools to ensure that locale updating correctly occurs and does not clobber user-defined strings/values. Been toying with some ideas. Will post them later to the forum. Assigning to me, BTW.
          Hide
          rah003 added a comment -

          Closing. If it reappear we can always reopen.

          Show
          rah003 added a comment - Closing. If it reappear we can always reopen.

            People

            • Assignee:
              Karl Schaefer
              Reporter:
              kleopatra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: