I want to set the text on a JButton that is size 32×32 but it only shows “…”. yeah I know you could see the text if you make the button bigger, but how do you make the text be shown on a 32×32 jbutton? The text is only 1 or 2 digits(characters), it is actually a counter. Thanks
Share
The insets are probably crowding out the text…
try
edit: Also, use a smaller font.
edit2: you can also control the insets for all buttons: