I would like to reduce the vertical size of a JButton. The following code works fine for K > 1 but I can\'t seem to reduce the size. Any suggestions?
JButton
As an alternative, some L&Fs (e.g. Nimbus, Aqua) support a JComponent.sizeVariant, as discussed in Resizing a Component and Using Client Properties. Several variations are illustrated here.
JComponent.sizeVariant