/[classpath]/classpath/javax/swing/JTextArea.java
ViewVC logotype

Diff of /classpath/javax/swing/JTextArea.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.9 by gnu_andrew, Tue Aug 2 20:12:37 2005 UTC revision 1.2.2.10 by gnu_andrew, Tue Sep 20 18:46:31 2005 UTC
# Line 208  public class JTextArea extends JTextComp Line 208  public class JTextArea extends JTextComp
208                /* This shouldn't happen in theory -- but, if it does...  */                /* This shouldn't happen in theory -- but, if it does...  */
209                throw new RuntimeException("Unexpected exception occurred.", exception);                throw new RuntimeException("Unexpected exception occurred.", exception);
210            }            }
211          if (toAppend != null && toAppend.length() > 0)
212            revalidate();
213    }    }
214    
215    /**    /**
# Line 312  public class JTextArea extends JTextComp Line 314  public class JTextArea extends JTextComp
314    {    {
315      if (columns < 0)      if (columns < 0)
316        throw new IllegalArgumentException();        throw new IllegalArgumentException();
317        
318      this.columns = columns;      if (columns != this.columns)
319          {
320            this.columns = columns;
321            revalidate();
322          }
323    }    }
324    
325    /**    /**
# Line 337  public class JTextArea extends JTextComp Line 343  public class JTextArea extends JTextComp
343    {    {
344      if (rows < 0)      if (rows < 0)
345        throw new IllegalArgumentException();        throw new IllegalArgumentException();
346      
347      this.rows = rows;      if (rows != this.rows)
348          {
349            this.rows = rows;
350            revalidate();
351          }
352    }    }
353    
354    /**    /**

Legend:
Removed from v.1.2.2.9  
changed lines
  Added in v.1.2.2.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26