|
Rank: Newbie Groups: Member
Joined: 1/16/2015 Posts: 9
|
First of all, I tried to re-produce this in your TabbedBrowser, but it was not possible as it does not support Java. The problem seems to be that an EventArgs to signle that you want to exit the browser is not triggered when you have exited Java application.
1 View a homepage (like spigo.dk) from your embedded browser 2 Go to a link that starts a Java application (on Spigo choose a game like Yatzy) 3 Close the Java application 4 Trigger the Exit Browser event 5 Event is never triggered - the event handler is never called (!?)
After reinit of the embedded browser and use of links that does not start a Java application it works fine and everything works as supposed to.
Thanks Jess
Public Class GoBackFromBrowserRequestEventArgs Inherits EventArgs ' Body omitted End Class
Public Event GoBackFromBrowserRequest As EventHandler(Of GoBackFromBrowserRequestEventArgs)
Private Sub BrowserControl_GoBackFromBrowserRequest(sender As Object, e As Controls.BrowserEventArgs.GoBackFromBrowserRequestEventArgs) Handles BrowserControl.GoBackFromBrowserRequest ' Body omitted End Sub
Private Sub ReturnFromBrowserExecute() Try ' Close loading window HideLoadingIndicatorIfShowing(True) ' Remove prev browser windows RemovePreviousBrowserWindows() ' Go to blank _LoadingEmptyStartPage = True NavigateToUrl("about:blank", False)
' Raise event Dim objEventArgs As New GoBackFromBrowserRequestEventArgs RaiseEvent GoBackFromBrowserRequest(Me, objEventArgs) Catch ex As Exception End Try End Sub
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
I am not sure what you meant by Java application. EO.WebBrowser is based on Google's Chromium browser engine. The Chromium browser engine does NOT support Java applet because Sun did not produce a PPAPI version of their Java plugin and PPAPI is the only plugin interface supported in newer version of the Chromium browser engine.
I also do not see anything related to our product in the code you posted. Can you explain how they are related to our product?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/16/2015 Posts: 9
|
By Java application, I do mean Java Applet. We are using the newest version by 30/jan/2018 from you, and we are able to start a Java Applet, but when closing the applet it consumes the event silently as described earlier.
I can show you with a couple of screen prints. I just need a place to put them?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
As we have already explained, the current version of EO.WebBrowser does NOT support Java/Java Applet. So if you wish to continue using your Java Applet, you need to look for a different solution. If you do not believe us, using Chrome browser to load the following page: https://www.java.com/en/download/installed.jspAnd the page will tell you that Chrome browser does not support Java. Thanks!
|
|