This content has been marked as final. Show 2 replies
Play around with java.awt.Desktop methods, especially browse() or open().
Thank you very much...that worked file.
The relevant code is:
String arg = "G:/tma03/agents/stats.htm";
java.awt.Desktop desktop = java.awt.Desktop.getDesktop(); ...to set-up Desktop object
try ... to create a URI object using arg
java.net.URI uri = new java.net.URI( arg );
desktop.browse( uri ); ... to browse the URI