title: How can I make a button exactly the same size of its text?
body: <p>Is it possible to make a <code>JButton</code> take exactly the size of its text? Since by default, a <code>JButton</code> will have a small amount of padding (both horizontal and vertical) around its text. I would like to remove that padding.</p>