-1

i want to show like ..i have taken one string vale="D://App//Test" and this path have to make as Link.if i click on this this window path wil open.How to do.Can you please suggest me.

md razi
  • 67
  • 4
  • 12
  • http://stackoverflow.com/questions/7357969/how-to-use-java-code-to-open-windows-file-explorer-and-highlight-the-specified-f – Wundwin Born Dec 05 '14 at 10:48

1 Answers1

1

Using java.nio.file:

Paths.get("D://App//Test").toRealPath().toUri().toURL();
fge
  • 119,121
  • 33
  • 254
  • 329