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

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -