...
>I have a JSplitPane on a JFrame. Left side of the JSplitPane contains
>a button with an image on it.
>i want the image to get resized ..
<zen question>
Using which image scaling algorithm?
</zen question>
> ...along with the button when the divider
>of the JSplitPane is dragged. Kindly advice how this can be achieved.
I suspect you would need to overide JButton to paint
the image according to the width/height. This can be
done using a very simple, generic rescaling algorithm,
using one of the Graphics.drawImage() methods that
accepts a width/height.

Signature
Andrew Thompson
http://www.athompson.info/andrew/