Nov 08
|
The SwingUtilities class contains a number of methods for querying the component hierarcharchy. To find the Window that contains a Component use getWindowAncestor().
Window window = SwingUtilities.getWindowAncestor(component);
CategoriesArchives
|
The SwingUtilities class contains a number of methods for querying the component hierarcharchy. To find the Window that contains a Component use getWindowAncestor(). Window window = SwingUtilities.getWindowAncestor(component); |
|