Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image Handing and Manipulation

Status
Not open for further replies.

nicka2

Programmer
Nov 12, 2002
3
ES
Hello! How to modify the size of imagen?? My code is:



Image img1=Toolkit.getDefaultToolkit().getImage("logo1.gif");
img1=img1.getScaledInstance(15,15,img1.SCALE_DEFAULT);

But is wrong, the img1 doesn´t change.. Other way or possibility?? Thanksss


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top