Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. hosting a java applet

hosting a java applet

Scheduled Pinned Locked Moved C#
c++javawinformshostingtutorial
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zildjohn01
    wrote on last edited by
    #1

    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.

    L 1 Reply Last reply
    0
    • Z zildjohn01

      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.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      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.

      Z 1 Reply Last reply
      0
      • L led mike

        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.

        Z Offline
        Z Offline
        zildjohn01
        wrote on last edited by
        #3

        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...

        L 1 Reply Last reply
        0
        • Z zildjohn01

          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...

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          zildjohn01 wrote:

          this might be more work than it's worth...

          Duh

          Z 1 Reply Last reply
          0
          • L led mike

            zildjohn01 wrote:

            this might be more work than it's worth...

            Duh

            Z Offline
            Z Offline
            zildjohn01
            wrote on last edited by
            #5

            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

            L 1 Reply Last reply
            0
            • Z zildjohn01

              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

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              zildjohn01 wrote:

              i guess i'll just SetParent the java window or rewrite the html and strip the ads out

              Keep in mind you never actually stated the problem you are trying to solve. Rather you asked how to accomplish a specific solution.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups