JDK-4717180 : Swing should document that UIs may change visual properties when installed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2002-07-18
  • Updated: 2017-05-16
  • Resolved: 2003-09-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Description
When a UI becomes associated with a JComponent subclass it will often times
change various visual properties on the JComponent subclass, for example,
the foreground and background color are almost always changed by the UI.
Because the UI is installed from the constructor after any defaults are set
the defaults are only applicable if the UI does not change them. The javadoc
should indicate this.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b22
2004-06-14

EVALUATION This has always been the case, just not specified. We should specify this in Swing's package level javadoc. ###@###.### 2002-07-18
2002-07-18