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 |
/** |
/** |
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 |
/** |
/** |
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 |
/** |
/** |