java - How does one create a JFrame application with custom buttons -
i looking create atm
style application, in sense enter pin , check amount of money, etc. create pin system , looking use jbuttons this. however, not fond of default skin buttons, sort of orb
look. wondering if there way in apply custom skins these buttons. have heard of defaultlookandfeel
or similar not sure if looking for. hope direct me in correct direction, thanks!
depending on situation, create separate custom button class extends jbutton or create new jbutton.
your code similar this:
imageicon yourimage = new imageicon(imagelocation); jbutton buttondeposit = new jbutton(yourimage); frame.add(button);
Comments
Post a Comment