This works well via Jabaco runtime, however, applet at run time via web browser returns an error and does not execute.
Message
Error attempting to launch web browser
java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
I have the below the code to work the exact opposite, to -work- via browser, but -not- jabaco runtime. Go figure, lol.
Also don't forget to add java#net in resources for it to work.
|
Jabaco Source
|
1
2
3
4
5
6
|
Dim url As java#net#URL
Dim s As String
s = "http://www.google.com/"
url = New java#net#URL(s)
Me.Parent.getAppletContext.showDocument(url,"_newtab")
|
Greetings,
Jason