Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

swing application as a web application

 
tuni kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how i can make the swing application as a web application

can any one help me???
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by tuni kumar:
how i can make the swing application as a web application

can any one help me???


1) Extend JApplet instead of JFrame
2) Replace JFrame constructor with init()
3) Ensure that you are not trying to access any system resources, as you will get a security violation. If you do want to access system resources, read some stuff regarding signing jars.
4) Create a web page and embedd your applet in it.
5) Deploy the web page under some webserver.

Of course you have many other options. But applet conversion means least amount of code changes for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic