Quote Originally Posted by nambill
You can try button.setMaximumSize() and button.setMinimumSize(), set same size for both.
This won't work for all LayoutManagers as some only look at the preferred size and not the min/max sizes.