Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes  swing application as a web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark " swing application as a web application" Watch " swing application as a web application" New topic
Author

swing application as a web application

tuni kumar
Greenhorn

Joined: Feb 07, 2008
Posts: 2
how i can make the swing application as a web application

can any one help me???
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

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.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: swing application as a web application
 
Similar Threads
Regarding Usage of Web Services In desktop Swing application
Swing to Web Conversion
swings
spring + swing
Open a Swing project in web based application