hosting a java applet
-
is there any way to host a java applet in windows forms without using a WebBrowser control? i'd like this to be as lightweight as possible (ironic as that sounds). i searched the web and couldn't even find an example in native code.
-
is there any way to host a java applet in windows forms without using a WebBrowser control? i'd like this to be as lightweight as possible (ironic as that sounds). i searched the web and couldn't even find an example in native code.
zildjohn01 wrote:
i searched the web and couldn't even find an example in native code.
There may not be any examples. However since all the browser authors did it, it must be possible right? All you have to do is recreate whatever work they all did and presto, you're done.
-
zildjohn01 wrote:
i searched the web and couldn't even find an example in native code.
There may not be any examples. However since all the browser authors did it, it must be possible right? All you have to do is recreate whatever work they all did and presto, you're done.
led mike wrote:
recreate whatever work they all did
why didn't i think of that? this'll be simple! *downloads firefox source code* (sarcasm) that code doesn't tell me a thing, i don't even know where to start. if i think about it though, didn't sun (and microsoft, and other vm devs) write the browser plugins themselves? meaning instead of just hosting the applet, i'd have to simulate a browser environment... this might be more work than it's worth...
-
led mike wrote:
recreate whatever work they all did
why didn't i think of that? this'll be simple! *downloads firefox source code* (sarcasm) that code doesn't tell me a thing, i don't even know where to start. if i think about it though, didn't sun (and microsoft, and other vm devs) write the browser plugins themselves? meaning instead of just hosting the applet, i'd have to simulate a browser environment... this might be more work than it's worth...
-
ok that was mean... lol. WebBrowser it is. i guess i'll just SetParent the java window or rewrite the html and strip the ads out
-
ok that was mean... lol. WebBrowser it is. i guess i'll just SetParent the java window or rewrite the html and strip the ads out