Make a JButton exactly the same size of its Text
- by Spi1988
Is it possible to make a JButton take exactly the size of its text? Since by default, a JButton will have a small amount of padding (both horizontal and vertical) around its text. I would like to remove that padding.
thx