Results 1 to 2 of 2
- 11-18-2010, 02:21 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 22
- Rep Power
- 0
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?
Thanks!
- 11-18-2010, 02:43 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,547
- Rep Power
- 11
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
-
Add 3D applet to html page
By Dennis in forum Advanced JavaReplies: 24Last Post: 08-01-2010, 01:07 PM -
Filechecker in html via applet
By gkirca in forum New To JavaReplies: 3Last Post: 12-22-2009, 10:35 AM -
Can anyone help me to create a INSERT INTO based on a class passed?
By victoreadward in forum New To JavaReplies: 7Last Post: 12-16-2009, 11:51 AM -
How to insert drop down values( using servlet from html ) into back end
By sanser in forum Java ServletReplies: 4Last Post: 10-19-2009, 11:16 PM -
Two Form Applet in html
By barusk in forum Java AppletsReplies: 0Last Post: 03-16-2009, 05:36 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks