public JButton createImageButton(Action a) { JButton b = new JButton(a); b.setMargin(new Insets(0, 0, 0, 0)); return b; }