• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How do i convert a swing application to a web application

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ben,
ill give a try.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic