-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0
-
None
-
sparc
-
solaris_2.6
After upgrading to Swing1.1.1fcs, the CompoundBorder for setBorder
doesn't work well anymore. The left and bottom sides of the border are
missing. However, if the title border is an empty string, it works and
all 4 sides of the border are displayed.
Border margin = BorderFactory.createEmptyBorder(5, 5, 5, 5);
Border streamTitle = BorderFactory.createTitledBorder("Features");
checkPanel.setBorder(new CompoundBorder(margin, streamTitle));
This does not happen with swing 1.1 or with JDK 2.
- duplicates
-
JDK-4266457 TitledBorder inside EmptyBorder Bug reappears in Swing 1.1.1
-
- Resolved
-