JDK-4497189 : JCheckBox representing a group
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.3.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2001-08-28
  • Updated: 2001-11-13
  • Resolved: 2001-11-13
Related Reports
Duplicate :  
Description

Name: ddT132432			Date: 08/28/2001


java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

If a JCheckBox has to represent a group like in installation where the group
have more then one item in the list and if few items are only selected in the
list. Then just the checked or unchecked state of the JCheckBox does not make
sense. Usually in Microsoft product this state is represented with the gray
background of the little rectangle of the CheckBox.
In JCheckBox we do not have this capability. We can override the class
CheckBoxIcon to change the background color of the rectangle but that will have
effect on all the Checkbox in the application. There should be a localized
method in the JCheckBox which can change the background color of the little
rectangle just for the instance.
(Review ID: 130828) 
======================================================================

Comments
WORK AROUND Name: ddT132432 Date: 08/28/2001 To represent this state change the color or text style of the text associated with the checkbox. How ever user's are not use to of it. and you need to give extra effort to make them understand what fancy text represent ======================================================================
11-06-2004

EVALUATION We currently have an RFE (4079882) for a tri-state checkbox. Closing as a duplicate. ###@###.### 2001-11-13
13-11-2001