2

in netbeans 6.8 how do you insert an image and change the size of it? i have tried to insert an image into a label. this allows me to change the size of the label but not the size of the image.

thanks

skaffman
  • 390,936
  • 96
  • 800
  • 764
Tuffy G
  • 1,503
  • 8
  • 31
  • 42

1 Answers1

1

You might use the getScaledInstance() method of class Image.

trashgod
  • 200,320
  • 28
  • 229
  • 974
  • 1
    See also this [alternative approach](http://stackoverflow.com/a/6916719/230513), which links to helpful article. – trashgod Mar 20 '12 at 17:06