-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
6
-
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.
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.
- duplicates
-
JDK-6494364 Consider surveying the UI delegates so that client properties are cleared
- Closed
- relates to
-
JDK-6456705 ToggleButton actionPerformed called om mouse rollover in GTK Look And Feel
- Closed