--- old/src/java.desktop/share/classes/javax/swing/tree/VariableHeightLayoutCache.java 2015-09-19 03:05:18.075140800 +0300 +++ new/src/java.desktop/share/classes/javax/swing/tree/VariableHeightLayoutCache.java 2015-09-19 03:05:17.874960400 +0300 @@ -22,11 +22,11 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ - package javax.swing.tree; import javax.swing.event.TreeModelEvent; import java.awt.Rectangle; +import java.beans.BeanProperty; import java.util.Enumeration; import java.util.Hashtable; import java.util.NoSuchElementException; @@ -103,10 +103,9 @@ * Sets the TreeModel that will provide the data. * * @param newModel the TreeModel that is to provide the data - * @beaninfo - * bound: true - * description: The TreeModel that will provide the data. */ + @BeanProperty(description + = "The TreeModel that will provide the data.") public void setModel(TreeModel newModel) { super.setModel(newModel); rebuild(false); @@ -118,11 +117,9 @@ * * @param rootVisible true if the root node of the tree is to be displayed * @see #rootVisible - * @beaninfo - * bound: true - * description: Whether or not the root node - * from the TreeModel is visible. */ + @BeanProperty(description + = "Whether or not the root node from the TreeModel is visible.") public void setRootVisible(boolean rootVisible) { if(isRootVisible() != rootVisible && root != null) { if(rootVisible) { @@ -151,10 +148,9 @@ * queried for each row's height. * * @param rowHeight the height of each cell, in pixels - * @beaninfo - * bound: true - * description: The height of each cell. */ + @BeanProperty(description + = "The height of each cell.") public void setRowHeight(int rowHeight) { if(rowHeight != getRowHeight()) { super.setRowHeight(rowHeight);