Swing component defaults should be re-initialized with UI switches

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: client-libs
    • Cause Known
    • generic, x86
    • generic, solaris_10

      Ideally, when a component's UI is uninstalled, it should leave no permanent effect on the component class. That way, when a new UI is installed, it only need worry about the "default" state of a component.

      In reality, there are many cases when this is not the case, and multiple attempts to address this on a per-property level, by restoring individual properties.

      A solution to this problem needs to be developed. Perhaps a new method could be added to JComponent to be called from setUI that will reset all UI state of the component.

            Assignee:
            Unassigned
            Reporter:
            Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: