Class SwingUtils


  • public class SwingUtils
    extends Object
    Utility methods for Swing.
    Since:
    2
    • Constructor Detail

      • SwingUtils

        public SwingUtils()
    • Method Detail

      • getComponentByName

        public static <T extends Component> T getComponentByName​(Container parent,
                                                                 String name)
        Search for a (grand) child component with the given name.
        Returns:
        a component; or null