Results 1 to 2 of 2
  1. #1
    Ambergahill is offline Member
    Join Date
    Nov 2010
    Rep Power

    Smile Insert applet into html without .class?

    I am writing code in Netbeans. I have some japplets and some other .java files that help support those japplets.

    When i right click on a JApplet and choose 'Run File', everything works good. Now what I want to do is place that same JApplet into an HTML file in my Dreamweaver project. The only way I know how to do this is with an Applet tag where you need to specify the applets .class file.

    I can not find this .class file anywhere in Netbeans. How do I find it?


  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power


    It depends, of course, on how you have set things up. But I see NB compiled classes in
    Java Code:
    My Documents\NetBeansProjects\JavaApplication3\build\classes

    In terms of making the applet part of a web page, you can either copy lots of .class (and maybe other) files or you can create a jar file containing the applet class files and their resources. After building I see the generated jar file in

    Java Code:
    My Documents\NetBeansProjects\JavaApplication3\dist

    You might want to familiarise yourself with the Applets section of Oracle's Tutorial for details on deployment. Although Dreamweaver will doubtless "help" with that, it is good to know what is going on.

Similar Threads

  1. Add 3D applet to html page
    By Dennis in forum Advanced Java
    Replies: 24
    Last Post: 08-01-2010, 01:07 PM
  2. Filechecker in html via applet
    By gkirca in forum New To Java
    Replies: 3
    Last Post: 12-22-2009, 10:35 AM
  3. Replies: 7
    Last Post: 12-16-2009, 11:51 AM
  4. Replies: 4
    Last Post: 10-19-2009, 11:16 PM
  5. Two Form Applet in html
    By barusk in forum Java Applets
    Replies: 0
    Last Post: 03-16-2009, 05:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts