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
  • 398,947
  • 96
  • 818
  • 769
Tuffy G
  • 1,521
  • 8
  • 31
  • 42

1 Answers1

1

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

trashgod
  • 203,806
  • 29
  • 246
  • 1,045
  • 1
    See also this [alternative approach](http://stackoverflow.com/a/6916719/230513), which links to helpful article. – trashgod Mar 20 '12 at 17:06