void () { super.removeNotify(); if (!ScreenUtil.isStandardAddRemoveNotify(this)) { return; } final List<ActionButton> buttons = myActionButtons; myActionButtons = null; if (buttons != null) { SwingUtilities.invokeLater(() -> { for (ActionButton button : buttons) { disposeButton(button); } }); } }