United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4129681 : Cannot get a title border to display its label as disabled

Details
Type:
Bug
Submit Date:
1998-04-16
Status:
Closed
Updated Date:
2010-07-21
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
client-libs
OS:
generic,solaris_7,windows_nt
Sub-Component:
javax.swing
CPU:
generic,x86,sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.2.0,1.4.0,6
Fixed Versions:

Related Reports
Duplicate:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
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)
======================================================================

                                    

Comments
EVALUATION

Contribution-Forum:https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?messageID=11904&forumID=1463
                                     
2006-03-10
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
                                     
2000-03-15



Hardware and Software, Engineered to Work Together