1. Can I make Swing JButtons have smaller margins? stackoverflow.comI prefer buttons with minimal margins, about as wide as their text caption. Is there a way to achieve that in a JButton in Swing? What I am seeing in practice now ... |
2. set margin for a group of buttons stackoverflow.comIs there a way to collectively change the padding of JButtons? I found the setMargin() method, but that doesn't work on button groups and I really can't imagine going through 25 ... |
3. JButton margins. Not respected when nimbus plaf stackoverflow.comThe property |