United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6664881 Nimbus L&F: JToggleButton does not honor contentAreaFilled
6664881 : Nimbus L&F: JToggleButton does not honor contentAreaFilled

Details
Type:
Bug
Submit Date:
2008-02-19
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2008-03-05
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10

Related Reports

Sub Tasks

Description
JToggleButton doesn't honor contentAreaFilled boolean on both Nimbus and GTK. Looking in SynthToggleButtonUI, the paintBackground method should check to see whether contentAreaFilled is true before painting.

                                    

Comments
EVALUATION

Description is accurate. Simple fix, simply add a check for contentAreaFilled to paintBackground of SynthToggleButtonUI. SynthButtonUI has this check, SynthToggleButtonUI overrides this method from SynthButtonUI but fails to do the check.
                                     
2008-02-19



Hardware and Software, Engineered to Work Together