List of utility methods to do JComponent Container
JRootPane | rootPaneForComponent(Component comp) root Pane For Component for (Component p = comp; p != null; p = p.getParent()) { if (p instanceof JRootPane) { return (JRootPane) p; if (comp instanceof JFrame) { return ((JFrame) comp).getRootPane(); if (comp instanceof JDialog) { ... |
void | widgetsEnable(boolean flag, JComponent... comps) Enable/disable a group of JComponents widgets. for (JComponent cmp : comps) {
cmp.setEnabled(flag);
|