Class SwingUtils

java.lang.Object
com.formdev.flatlaf.util.SwingUtils

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

    • SwingUtils

      public SwingUtils()
  • Method Details

    • 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