DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Alligator Bob Guest

    How to use Java Swing applets......


    I downloaded the Java 2 plug-in, installed it, and I still can't see Java
    applets written in Swing in either Netscape or Internet Explorer. Does anyone
    know how to help me; this supposedly good Core Java book doesn't tell me
    crap either.

  2. #2
    Hetal Shah Guest

    Re: How to use Java Swing applets......


    Hi Bob,
    Which version of Netscape or IE are you using? Netscape should be above 4.51
    and IE should be 5.0+.
    As far as my knowledge is concerned, Java 2 plugin that you have downloaded
    might not support certain
    components of swings. You can try out your applet using HotJava, which is
    pure java browser.

    Hetal



    "Alligator Bob" <icelake@aol.com> wrote:
    >
    >I downloaded the Java 2 plug-in, installed it, and I still can't see Java
    >applets written in Swing in either Netscape or Internet Explorer. Does

    anyone
    >know how to help me; this supposedly good Core Java book doesn't tell me
    >crap either.



  3. #3
    Hetal Shah Guest

    Re: How to use Java Swing applets......


    I have found out that you require to include plug-in link in the HTML file
    produced by the HTML
    converter.

    URL url = new URL("javascript:'" + html + "'");
    myapplet.getAppletContext.showDocument(url, "_blank");

    where html is any valid string of html tags that does not contain
    any '\n',
    e.g. <HEAD><TITLE>title</TITLE></HEAD><BODY>Hello!</BODY>

    Or else

    You can try out your applet using HotJava, which is pure java browser.

    Hetal



    >"Alligator Bob" <icelake@aol.com> wrote:
    >>
    >>I downloaded the Java 2 plug-in, installed it, and I still can't see Java
    >>applets written in Swing in either Netscape or Internet Explorer. Does

    >anyone
    >>know how to help me; this supposedly good Core Java book doesn't tell me
    >>crap either.

    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links