I have the button in Java (which includes text and icon), but with the default border, the border (the retangle outside the text and icon) is rather long, so how could I set the customed border (width, length) of jbutton. So far, i triedI have the button in Java (which includes text