-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
"Painting focus and painting border should be independent"
In motif look, JButton's paint focus is dependent on the its border.
If paintBorder is false, painting focus is never done no matter what paintFocus
is true. (In metal and window look, they handled paintBorder and paintFocus
independently.)
See the paintFocus() method of MotifButtonUI and paintBorder() method of ButtonBorder class in MotifBorderFactory.
bae-chul.kim@eng 1998-04-16
Please see "Suggested Fix"
bae-chul.kim@eng 1998-04-17
In motif look, JButton's paint focus is dependent on the its border.
If paintBorder is false, painting focus is never done no matter what paintFocus
is true. (In metal and window look, they handled paintBorder and paintFocus
independently.)
See the paintFocus() method of MotifButtonUI and paintBorder() method of ButtonBorder class in MotifBorderFactory.
bae-chul.kim@eng 1998-04-16
Please see "Suggested Fix"
bae-chul.kim@eng 1998-04-17
- duplicates
-
JDK-4915509 Focus not painted in JButton with no border in motif LAF
-
- Closed
-
- relates to
-
JDK-4129699 Motif ButtonUI: Whenever button is pressed focus is painted(paintFocus is false)
-
- Closed
-
-
JDK-4130812 Motif JToggleButton: painting focus is not handled well
-
- Closed
-