Text on JButton
I have text on Jbutton , and button prefered size is Dimension(45,45).But when I change Dimension to (20,20) text become "...". what should I do to see text on Jbutton with Dimension(20,20). My text is one character lenght.Help!!!!!
[253 byte] By [
seha_05a] at [2007-11-27 7:10:54]

# 1
Well, first, are you sure your text is one character in length? Are you setting it explicitly or are you retreaving it from somewhere? Because if that's the case, you may need to use a .trim() to get rid of extra blank characters.
# 2
100% sure. I make minesweeper game, and I have number of mines around button as text. I set prefered size Dimenzion(20,20) but Text apears as "...".