how to extract icon from exe file in java

J

James

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
 
A

Andrew Thompson

| Anyone can tell me how to extract the icon from exe file and
make use as
| ImageIcon in java?

Perhaps someone on the original thread you
_multi-posted_ to at comp.lang.java.help.
 
A

Andrew Thompson

| | | Anyone can tell me how to extract the icon from exe file and
| make use as
| | ImageIcon in java?
|
| Perhaps someone on the original thread you
| _multi-posted_ to at comp.lang.java.help.

Or rather, c.l.j.gui.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top