2

I have an array of files -

File[] files = new File[9]

The files extensions are ".lnk" (Windows shortcut files) and I'm wondering how to extract the Image (The actual executable icon that you see in windows explorer...) from each file to set it to a JLabel ? Can anyone help me please?

Ive googled and stacked my overflows but I can only find C# or C++ examples or java examples on setting the icon :/

Thanks

Eme
  • 49
  • 1
  • 9
  • 1
    http://stackoverflow.com/questions/309495/windows-shortcut-lnk-parser-in-java – nafas Jun 03 '15 at 15:50
  • @nafas Thank you, I didnt find what I was looking for on the link you gave but I found a link on the page you gave a link to that gave me what I was looking for xD So I have you to thank for the first link :P Here's the link I found http://www.rgagnon.com/javadetails/java-0439.html –  Jun 03 '15 at 17:19
  • No problem mate, I'm glad that helped :) – nafas Jun 04 '15 at 08:26

1 Answers1

0

"Windows shortcut (.lnk) parser in Java?" – nafas"

@nafas Thank you, I didnt find what I was looking for on the link you gave but I found a link on the page you gave a link to that gave me what I was looking for xD So I have you to thank for the first link :P Here's the link I found rgagnon.com/javadetails/java-0439.html – Piston Block

Community
  • 1
  • 1