This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 10268
    
    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!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swing application as a web application