Class SwingUtil

  • public class SwingUtil
    extends Object
    Various Swing utilities.
    • Constructor Detail

      • SwingUtil

        public SwingUtil()
    • Method Detail

      • removeButtonDecorations

        public static void removeButtonDecorations​(AbstractButton button)
      • fastRemoveAll

        public static void fastRemoveAll​(Container c)
        Removes all of a component's children faster than calling removeAll() on it in many cases
      • pumpPendingEvents

        public static void pumpPendingEvents()
        Run any events currently in the event queue
      • activate

        public static void activate​(@Nullable
                                    Object maybeActivatable)
      • deactivate

        public static void deactivate​(@Nullable
                                      Object maybeActivatable)