JDK-4129681 : Cannot get a title border to display its label as disabled
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0,1.4.0,6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_7,windows_nt
  • CPU: generic,x86,sparc
  • Submitted: 1998-04-16
  • Updated: 2010-07-21
  • Resolved: 2011-03-08
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.
7 b102Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Name: rk38400			Date: 04/16/98

When I disable a panel that has a titled border I would expect the title to appear as disabled. This is not the case.
How can I change that?
(Review ID: 28247)

EVALUATION Contribution-Forum:https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?messageID=11904&forumID=1463

EVALUATION This is true and I consider it a bug. The paintBorder method could check to see if the component passed in is enabled or not and paint the label accordingly. amy.fowler@Eng 1998-05-29 The only glitch here is painting the disabled label in a style consistent with a given look&feel. If the TitledBorder could use a JLabel as a renderer, that would be the best solution. amy.fowler@Eng 2000-03-15