I stored the path of the image to be rescaled in the string variable 'path'
then i tried this code to resize and display the image. but it didn't work.
it shows an error
jLabel1.setIcon(new javax.swing.ImageIcon(getScaledImage("path", 32, 32)))
but this code produces an error displaying unable to find method getScaledImage.
What to do for this... waiting for help