View Single Post
Old Dec 5th, 2005, 11:30 PM   #5
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 928
Rep Power: 4 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
I think buttons automatically resize themselves depending on the length of their text, so if you don't specify a size you may be able to use the setBorder(Border b) method and save yourself the trouble.
titaniumdecoy is offline   Reply With Quote