Results 1 to 5 of 5
- 10-28-2012, 11:33 PM #1
Member
- Join Date
- Oct 2012
- Posts
- 14
- Rep Power
- 0
Viewing JApplet in browser when compiling in NetBeans
Hi, I have made my applet in NetBeans, and before I used netbeans and made the applet by hand, I would just make an html file and run the applet from there. However, when I do that now, I get an error in chrome that says
NoClassDefFoundError
ImageDisplayApplet (wrong name: org/me/cell/ImageDisplayApplet)
I think it is because when I made it in netbeans, I made the applet in a package called org.me.cell, so how do I fix this?
- 10-29-2012, 02:28 AM #2
Re: Viewing JApplet in browser when compiling in NetBeans
By specifying the fully qualified class name in the HTML.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 10-29-2012, 04:00 AM #3
Member
- Join Date
- Oct 2012
- Posts
- 14
- Rep Power
- 0
Re: Viewing JApplet in browser when compiling in NetBeans
So would I say, org.me.cell.ImageDisplayApplet.class?
- 10-29-2012, 04:59 AM #4
Re: Viewing JApplet in browser when compiling in NetBeans
What happened when you tried?
Note that the .class file has to be in a folder structure that reflects its package.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 10-29-2012, 03:13 PM #5
Member
- Join Date
- Oct 2012
- Posts
- 14
- Rep Power
- 0
Similar Threads
-
JApplet doesn't load in browser?
By MarioBrawler in forum New To JavaReplies: 4Last Post: 06-26-2012, 12:52 AM -
Converting JFrame to JApplet is not showing on browser.
By ganesh.gothi@gmail.com in forum Java AppletsReplies: 4Last Post: 06-12-2012, 05:05 PM -
JApplet connecting to the database in browser
By pinxrick in forum Java AppletsReplies: 3Last Post: 03-22-2011, 04:12 AM -
japplet - jtable - browser
By jasonnuigi in forum Java AppletsReplies: 2Last Post: 12-31-2010, 02:16 PM -
Viewing XML using Default Browser - Java's "Desktop" API
By scotter59 in forum XMLReplies: 2Last Post: 01-29-2009, 07:17 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks