How to download Swing application in Server side on request from client

Posted on 2006-03-22
Last Modified: 2010-03-31
How to download Swing application on request from client. The swing application is in the server side and needs to be downloaded each time request is made by the client.
Question by:pradeep_brat
    LVL 24

    Expert Comment

    Sound like you should write an applet and have in loaded by the browser.


    Author Comment

    I have written a swing program which on running loads a JSP File (say login.jsp) into it. I dont think there is a function in Applet that allows the loading of HTML page. Like the HTMLEditorKit in swing.
    LVL 30

    Expert Comment

    Use a JApplet.
    LVL 86

    Expert Comment

    Use WebStart
    LVL 15

    Expert Comment

    > Use WebStart

    I agree and its a standard ;) see this documents to help you with all your needs :

    I also did implement webstart on mine :
    LVL 92

    Accepted Solution

    > I dont think there is a function in Applet that allows the loading of HTML page.

    There is, its the browser :)
    Just call showDocument() to display the page. It will do a far better job than JEditorPane.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now