JDK-6594224 : Nimbus L&F: Outline border is missing in TitleBorder.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u4,6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-08-17
  • Updated: 2011-03-05
  • Resolved: 2008-02-04
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 Availability Release.

To download the current JDK release, click here.
JDK 6
6u10Resolved
Related Reports
Duplicate :  
Duplicate :  
Description
Description
===========
If you apply a title border to a swing component then you can see only the title and the border around the component is missing.

I have created two title border with the names(TableFilterCriteria and SecondarySort) but i have seen only the titles after launching the application.

Please find the attached image for reference.

JDK Info:
=========
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b01)
Java HotSpot(TM) Client VM (build 1.6.0_03-ea-b02, mixed mode)
-----------------------------------------------------------
Also Nimbus LAF : Wrong title font color on TitleBorder

This is another related bug that is fixed are both fixed in this bug.

see bug 6595223 for more details

Comments
EVALUATION We can not come up with a method of darkening the center of the recessed titled border to match the orginal Nimbus spec with in the constraints of what can be done by a look and feel. This is mainly due to the fact that borders are painted last so even if they paint the center they wil paint over the content. So we are drawing the recessed rounded border but not darkening the background in the center. Also the text is a very dark grey where it is black in the spec. This is to get around the visual differences in the way Java renders Fonts vs the way Photoshop renders them in the design spec.
25-01-2008

EVALUATION The border needs to be drawn. We also need to look into a method for making the background of the title border area darker. Also need to see if we can enhance some of the other borders created by the BorderFactory such that they look good by default on Nimbus.
10-09-2007