java applets and applications
Is there any way i can put a standalone java application in a web browser or put an application into an applet.
I have written an application and want to know how to embed it into a browser.
I've searched for how to do this but couldn't find anything.
I was hoping to create something like this: http://home.comcast.net/~fhcsmith/intro/ch2/ch2ex5.html
(Ignore everything except the "Java Console I/O")
I don't want to create that specific program but want to know how to put an
application like that into a browser
Thanks
[573 byte] By [
Bjava] at [2007-11-26 20:32:38]

> Is there any way i can put a standalone java
> application in a web browser or put an application
> into an applet.
>
> I have written an application and want to know how to
> embed it into a browser.
> I've searched for how to do this but couldn't find
> anything.
>
> I was hoping to create something like this:
> http://home.comcast.net/~fhcsmith/intro/ch2/ch2ex5.htm
> l
> (Ignore everything except the "Java Console I/O")
>
> I don't want to create that specific program but want
> to know how to put an
> application like that into a browser
>
> Thanks
With the ch2ex5 approach, users on some browsers can't do keyboard input because the browser steals all of it. A better approach would be launching a separate application window from an event handler for applet GUI(button et al).
hiwaa at 2007-7-10 1:22:56 >

> > A better approach would be launching a
> > separate application window from an event handler
> for
> > applet GUI(button et al).
>
> I couldn't find out how to launch a seperate
> application window. I found results about Java Web
> Start. Is that what I want?
That could work. It won't be embedded in a browser. Instead, you could setup a page where they could click on a link that would open a JNLP file which would download and run your application. The catch is that they have to have a reasonably recent version Java with JWS installed on the machine. Of course, you can make a page to test for that and direct them to a download if necessary.