java Swing to html converter
Hi All,
I have a stand alone java swing application running successfully on my system.
Now what is want to do is to run it on server.
So i just want to convert my swing window to html page so that i can easily put it on my server
any idea
thanks,
prashant malik
# 1
"Convert a Swing window to a HTML page" is nonsense.
If you want to show a Swing program on a webpage you could think about converting your Swing program into an applet, but this involves a lot of refactoring (and it's not even sure this is possible as applets have stricter security policies than standalone applications).
Or you might rewrite the non-GUI part of your program as a servlet and then generate dynamic HTML content -- but this means even greater refactoring.
# 2
Hi java_knight,
Thanks for reply
but if i convert my Swing program into an applet it would requre java installed on every system which i do not want.
Actually my problem is that i want to use Swing's keyevent in webpage so that when i type somthing it will display quickly as ajex
is it possible or not
thanks,
prashant malik
# 4
You can convert Swing application to rich HTML web sites dynamically with WebCream (http://www.creamtec.com/webcream/). It would take your Swing windows and generate HTML/JavaScript at runtime, so you really DON'T need a JRE on the client.
Seeing is believing - look at the demos on their site.