Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
01-15-2013, 04:09 PM #1
- Join Date
- Sep 2012
- Thanked 0 Times in 0 Posts
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");