Class SwingUtils


  • public class SwingUtils
    extends java.lang.Object
    Utility methods for Swing.
    Since:
    2
    • Constructor Summary

      Constructors 
      Constructor Description
      SwingUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends java.awt.Component>
      T
      getComponentByName​(java.awt.Container parent, java.lang.String name)
      Search for a (grand) child component with the given name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SwingUtils

        public SwingUtils()
    • Method Detail

      • getComponentByName

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