I am reading a String from a file, and i need the default browser to open the link of that file. but it wants a final string as a parameter.
try
{
Desktop.getDesktop().browse(new URL(URLs.get(i)).toURI());
}
catch (URISyntaxException | IOException ex)
{
;
}
of course it does not work.. The Strings are in a ArrayList of String (URLs). any suggestions? thank you