How set JButton icon Relative to the JButton size???
I have a jbutton and i set a icon for this, but my icon size is bigger than my jbutton
now I how to set icon size Relative to the jbutton size?
this is my code ..
ImageIcon icon=new ImageIcon("myUrl");