static JToggleButton jToggleButton(S text, Runnable action) { var btn = basicJToggleButton(text); addActionListener(btn, action); ret btn; }