--- /home/cpdev/src/classpath/javax/swing/event/TableModelEvent.java	2005-07-02 21:04:05.000000000 +0000
+++ javax/swing/event/TableModelEvent.java	2005-06-30 05:35:15.000000000 +0000
@@ -1,5 +1,5 @@
 /* TableModelEvent.java --
-   Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -43,74 +43,38 @@
 import javax.swing.table.TableModel;
 
 /**
- * An event that describes changes to a {@link TableModel}.
- * 
- * @see javax.swing.event.TableModelListener
- * 
  * @author Andrew Selkirk
  */
 public class TableModelEvent extends EventObject
 {
   private static final long serialVersionUID = -7849342674552212824L;
   
-  /** A column index representing all columns. */
   public static final int ALL_COLUMNS = -1;
-  
-  /** 
-   * An event type indicating that one or more rows have been deleted from the 
-   * model. 
-   */
   public static final int DELETE = -1;
-  
-  /** A row index representing the header row. */
   public static final int HEADER_ROW = -1;
-  
-  /** 
-   * An event type indicating that one or more rows have been inserted into the 
-   * model. 
-   */
   public static final int INSERT = 1;
-  
-  /** An event type indicating that data has been updated in the model. */
   public static final int UPDATE = 0;
 
-  /** The column in the table model that the event relates to. */
   protected int column = 0;
-  
-  /** The first row in the table model that the event relates to. */
   protected int firstRow = 0;
-  
-  /** The last row in the table model that the event relates to. */
   protected int lastRow = 0;
-  
-  /** 
-   * The event type (one of {@link #UPDATE}, {@link #INSERT}, {@link #DELETE}). 
-   */
   protected int type = 0;
 
   /**
-   * Creates a new <code>TableModelEvent</code> indicating an {@link #UPDATE} 
-   * to the data in all columns and rows.
-   * 
-   * @param source  the source object (<code>null</code> not permitted).
+   * Creates a <code>TableModelEvent</code> event.
    * 
-   * @throws IllegalArgumentException if <code>source</code> is 
-   *         <code>null</code>. 
+   * @param source The source object
    */
   public TableModelEvent(TableModel source)
   {
-    this(source, 0, Integer.MAX_VALUE, ALL_COLUMNS, UPDATE);
+    this(source, 0, source.getRowCount(), ALL_COLUMNS, UPDATE);
   }
 
   /**
-   * Creates a new <code>TableModelEvent</code> indicating an {@link #UPDATE}
-   * to the data in a single row across all columns.
-   * 
-   * @param source  the source object (<code>null</code> not permitted).
-   * @param row  the updated row.
+   * Creates a <code>TableModelEvent</code> event.
    * 
-   * @throws IllegalArgumentException if <code>source</code> is 
-   *         <code>null</code>.
+   * @param source The source object
+   * @param row The updated row
    */
   public TableModelEvent(TableModel source, int row)
   {
@@ -118,15 +82,11 @@
   }
 
   /**
-   * Creates a new <code>TableModelEvent</code> indicating an {@link #UPDATE}
-   * to the data in the specified rows across all columns.
+   * Creates a <code>TableModelEvent</code> event.
    * 
-   * @param source  the source object (<code>null</code> not permitted).
-   * @param firstRow  the first row of update.
-   * @param lastRow  the last row of update.
-   * 
-   * @throws IllegalArgumentException if <code>source</code> is 
-   *         <code>null</code>.
+   * @param source The source object
+   * @param firstRow The first row of update
+   * @param lastRow The last row of update
    */
   public TableModelEvent(TableModel source, int firstRow, int lastRow)
   {
@@ -134,41 +94,28 @@
   }
 
   /**
-   * Creates a new <code>TableModelEvent</code> indicating an {@link #UPDATE}
-   * to the data in the specified rows and column.  Use {@link #ALL_COLUMNS} 
-   * for the <code>column</code> argument to indicate all columns.
+   * Creates a <code>TableModelEvent</code> event.
    * 
-   * @param source  the source object (<code>null</code> not permitted).
-   * @param firstRow  the first row of update.
-   * @param lastRow  the last row of update.
-   * @param column  the affected column.
-   *    
-   * @throws IllegalArgumentException if <code>source</code> is 
-   *         <code>null</code>.
+   * @param source The source object
+   * @param firstRow The first row of update
+   * @param lastRow The last row of update
+   * @param column The affected column
    */
-  public TableModelEvent(TableModel source, int firstRow, int lastRow, 
-                         int column)
+  public TableModelEvent(TableModel source, int firstRow, int lastRow, int column)
   {
     this(source, firstRow, lastRow, column, UPDATE);
   }
 
   /**
-   * Creates a new <code>TableModelEvent</code> indicating an operation of
-   * the specified <code>type</code> on the data in the specified rows and
-   * column.  The event type is usually one of {@link #UPDATE}, {@link #INSERT},
-   * and {@link #DELETE}.
-   * 
-   * @param source  the source object (<code>null</code> not permitted).
-   * @param firstRow  the first row of update.
-   * @param lastRow  the last row of update.
-   * @param column  the affected column.
-   * @param type  the type of change.
+   * Creates a <code>TableModelEvent</code> event.
    * 
-   * @throws IllegalArgumentException if <code>source</code> is 
-   *         <code>null</code>.
+   * @param source The source object
+   * @param firstRow The first row of update
+   * @param lastRow The last row of update
+   * @param column The affected column
+   * @param type The type of change
    */
-  public TableModelEvent(TableModel source, int firstRow, int lastRow, 
-                         int column, int type)
+  public TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type)
   {
     super(source);
     this.firstRow = firstRow;
@@ -179,8 +126,6 @@
 
   /**
    * Returns the affected column of this event.
-   * 
-   * @return The column index.
    */
   public int getColumn()
   {
@@ -189,8 +134,6 @@
 
   /**
    * Returns the first affected row of this event.
-   * 
-   * @return The row index.
    */
   public int getFirstRow()
   {
@@ -199,8 +142,6 @@
 
   /**
    * Returns the last affected row of this event.
-   * 
-   * @return The row index.
    */
   public int getLastRow()
   {
@@ -208,10 +149,7 @@
   }
 
   /**
-   * Returns the type of change indicated by this event (usually one of 
-   * {@link #UPDATE}, {@link #INSERT}, {@link #DELETE}).
-   * 
-   * @return The type.
+   * Returns the type of change of this event.
    */
   public int getType()
   {
