changeset 4857:4f74e3fdf86b

7100004: javax.swing.JTable.setAutoCreateRowSorter(boolean autoCreateRowSorter) should mention default value Reviewed-by: rupashka Contributed-by: alexandr.scherbatiy@oracle.com
author rupashka
date Mon, 17 Oct 2011 16:40:34 +0400
parents aa3f5117c485
children f1dbc62c7c6d
files src/share/classes/javax/swing/JTable.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/JTable.java	Mon Oct 17 15:10:42 2011 +0400
+++ b/src/share/classes/javax/swing/JTable.java	Mon Oct 17 16:40:34 2011 +0400
@@ -1828,6 +1828,8 @@
      * table.  While the {@code autoCreateRowSorter} property remains
      * {@code true}, every time the model is changed, a new {@code
      * TableRowSorter} is created and set as the table's row sorter.
+     * The default value for the {@code autoCreateRowSorter}
+     * property is {@code false}.
      *
      * @param autoCreateRowSorter whether or not a {@code RowSorter}
      *        should be automatically created