Anyone can tell me how to extract the icon from exe file and make use as
ImageIcon in java?
ImageIcon ii=(ImageIcon)fsv.getSystemIcon(new File("abc.exe"));
I had try this code before, but the icon that get out is very bad.(big
pixel)
Got any other way to extract it out in better look.
Thanks
Dmitry R - 10 Jan 2004 01:01 GMT
> Anyone can tell me how to extract the icon from exe file and make use as
> ImageIcon in java?
[quoted text clipped - 6 lines]
>
> Thanks
I'd use a resource editor to extract it in bmp and then load in Java.
Actually, exe can have many icons, so it should be a way how to
specify which one.