static JButton jImageAndTextButton(S imageID, S text, O action) { JButton btn = jImageAndTextButton_defaultPlacement(imageID, text, action); btn.setVerticalTextPosition(SwingConstants.BOTTOM); btn.setHorizontalTextPosition(SwingConstants.CENTER); ret btn; } // button without action static JButton jImageAndTextButton(S imageID, S text) { ret jImageAndTextButton(imageID, text, null); }