equal
deleted
inserted
replaced
288 * |
288 * |
289 * @see JComponent#revalidate |
289 * @see JComponent#revalidate |
290 * @see JComponent#isValidateRoot |
290 * @see JComponent#isValidateRoot |
291 */ |
291 */ |
292 public boolean isValidateRoot() { |
292 public boolean isValidateRoot() { |
293 return SwingUtilities2.getViewport(this) == null; |
293 return SwingUtilities.getParentViewport(this) == null; |
294 } |
294 } |
295 |
295 |
296 |
296 |
297 /** |
297 /** |
298 * Returns the horizontal alignment of the text. |
298 * Returns the horizontal alignment of the text. |