// _ = text, runnable, text, runnable, ... // use e.g. maxToShow := 2 to hide all but 2 buttons in a pop-down menu static JPanel jLabelWithButtons(S text, O... _) { optPar int maxToShow = 1000; ret centerAndEastWithMargin(jLabel(text), jcenteredbuttons_withPopDown(maxToShow, paramsWithout(_, 'maxToShow))); }