summaryrefslogtreecommitdiff
path: root/javax/swing/JComponent.java
diff options
context:
space:
mode:
authorAudrius Meskauskas <audriusa@Bioinformatics.org>2006-04-26 12:31:07 +0000
committerAudrius Meskauskas <audriusa@Bioinformatics.org>2006-04-26 12:31:07 +0000
commit42da653f1960e3412d46e945a709800d0587e26e (patch)
treedc6b40725786996c52586dfcba516cbb58e2c239 /javax/swing/JComponent.java
parente94ee062e444b58b9b1b38b9a825b9d0249f12ea (diff)
downloadclasspath-42da653f1960e3412d46e945a709800d0587e26e.tar.gz
2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTree.java (setLeadSelectionPath): Repaint the new and old lead pathes. * javax/swing/plaf/basic/BasicTreeUI.java (FocusHandler): Repaint the lead row when focus changes. (PropertyChangeHandler): Use existing constants, not the string literals for the property names. (TreeIncrementAction): Shrink the selection when moving from the selection edge to the selection anchor. (TreeSelectionHandler.valueChanged): Repaint the new and old lead pathes. (paintRow): Treat row as focused only if it is the lead row. * javax/swing/tree/DefaultTreeCellRenderer.java (getTreeCellRendererComponent): Set the vertical alignment to CENTER. (paint): Rewritten. * javax/swing/tree/DefaultTreeSelectionModel.java (addSelectionPath): Event construction fix (old and new lead were always the same). (addSelectionPaths): Likewise. * javax/swing/JComponent.java (setOpaque): Explained. * javax/swing/tree/FixedHeightLayoutCache.java (getBounds): Accept null. * javax/swing/tree/VariableHeightLayoutCache.java (getBounds): Accept null.
Diffstat (limited to 'javax/swing/JComponent.java')
-rw-r--r--javax/swing/JComponent.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/javax/swing/JComponent.java b/javax/swing/JComponent.java
index 8f5c22405..21904b566 100644
--- a/javax/swing/JComponent.java
+++ b/javax/swing/JComponent.java
@@ -2924,9 +2924,12 @@ public abstract class JComponent extends Container implements Serializable
}
/**
- * Set the value of the {@link #opaque} property.
+ * Set if the component should paint all pixels withing its bounds.
+ * If this property is set to false, the component expects the cleared
+ * background.
*
- * @param isOpaque The new value of the property
+ * @param isOpaque if true, paint all pixels. If false, expect the clean
+ * background.
*
* @see ComponentUI#update
*/