java - automatic resizing of jbutton icon in gridlayout -
i'm making chess game. i'm using gridlayout(8,8) , filled jbutton[8][8]. each jbutton has icon of piece on square or icon of blank square if no piece on it. right pieces cut off. how make icons automatically resize fit whatever size grid makes jbutton?
you might able use darryl's stretch icon.
Comments
Post a Comment