File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i convert a swing application to a web application

 
nirmal Rchavan
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
could someone help me out with this design.
I have:
a calendar application built using swings
A tomcat apache 5 installed on my system
I have created:
html home page with the fields NAME, PASSWORD, AND DATE
SELECTION(with a small pop up button when clicked will pop up
a calendar).

when i say http://localhost:8080/myApp/myhtml.html on my browser it takes me to this page. my question is how do i write a code so that when i click the popupCalendar button it calls should call my swing calendar application.
Please give me a picture as to how do i go about this.

Appretiate your time...thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Swing application (or any Java application with visual Swing components) running on a server can not be seen by a user at the client machine.

You could rework your application to work in an applet or a Java Web Start application which can be delivered via a browser. How difficult that will be depends on how it was written.
 
nirmal Rchavan
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben,
ill give a try.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic