United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4420209 We should specify the default L&F and which properties a L&F might ignore.
JDK-4420209 : We should specify the default L&F and which properties a L&F might ignore.

Details
Type:
Enhancement
Submit Date:
2001-02-28
Status:
Resolved
Updated Date:
2001-03-14
Project Name:
JDK
Resolved Date:
2001-03-14
Component:
docs
OS:
solaris_2.6
Sub-Component:
guides
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.3.0,1.4.0
Fixed Versions:
1.4.0 (beta)

Related Reports
Duplicate:

Sub Tasks

Description
For the sake of compatibility testing, we should specify these things.
The L&F is the Java look and feel, unless the user or program specifies
something different.  Several properties might be ignored by a L&F, 
either because the L&F doesn't support the relevant feature or because
the feature just doesn't apply to the L&F.

                                    

Comments
EVALUATION

Add to the javadoc for the javax.swing.plaf.metal package and
UIManager classes that the Java look and feel is the default.

Adjust the documentation for the following properties to indicate
that a L&F might ignore the property:

AbstractButton: focusPainted, rolloverEnabled
JButton: defaultButton, defaultCapable
JCheckBox: borderPaintedFlat
JColorChooser: dragEnabled
JComboBox: lightWeightPopupEnabled
JFileChooser: dragEnabled, controlButtonsAreShown
JInternalFrame: iconifiable
JList: dragEnabled
JPopupMenu: lightWeightPopupEnabled
JProgressBar: stringPainted, indeterminate, borderPainted
JSplitPane: oneTouchExpandable, continuousLayout
JTable: dragEnabled
JTextComponent: dragEnabled
JToolBar: floatable, borderPainted
JTree: dragEnabled, showsRootHandles, scrollsOnExpand

kathleen.walrath@Eng 2001-03-13
                                     
2001-03-13
SUGGESTED FIX

Specify in the UIManager class description and javax.swing.plaf.metal
package description that the Java look and feel is the default L&F
(the one used if the user and programmer don't specify something else).
Change the documentation of methods such as JToolBar's is/setFloatable
and AbstractButton's is/setFocusPainted to say that the property
might be ignored by some L&Fs that don't implement the feature in
question.
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
generic
merlin-beta

FIXED IN:
merlin-beta

INTEGRATED IN:
merlin-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together