public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static void |
centerDialog(java.awt.Dialog d,
java.awt.Frame f)
Center the Dialog within the Frame.
|
static java.awt.Frame |
getFrame(java.awt.Component c)
Accept a component and look up the containment hierarchy for its Frame parent.
|
public static final java.awt.Frame getFrame(java.awt.Component c)
c
- a Component object.public static void centerDialog(java.awt.Dialog d, java.awt.Frame f)
d
- a Dialog.f
- a Frame.JSpell SDK - Spell Checker for the Java Platform
Copyright © 2009-2019 Page Scholar Inc, All Rights Reserved - https://www.jspell.com