• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet not working properly on browser

 
kate robin
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
my applet program has a part of JUnit test, i use it to submit for online.applet is working well on applet viewer and submitting the form to another website, but on browser applet is executed and showing but part of junit test program not working.

note:my applet is signed.
 
Paul Clapham
Sheriff
Posts: 21583
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you can debug your applet using the applet console (that's where System.in and System.out connect to). But based on the information you posted, there's nothing more that I can say. Read our FAQ entry ItDoesntWorkIsUseless if you don't see why that is.
 
Paul Clapham
Sheriff
Posts: 21583
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, this is why I recommended (in your other thread) that you should write the code in an application initially, rather than an applet. Much easier to test and debug.

Or did you already do that, and now you're having problems specifically with running the code in an applet?
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/java-applets/61341-applet-junit.html
 
kate robin
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:Actually, this is why I recommended (in your other thread) that you should write the code in an application initially, rather than an applet. Much easier to test and debug.

Or did you already do that, and now you're having problems specifically with running the code in an applet?


Hi Paul,
I already used as application then i integrated it to my applet, the applet itself works fine inside eclipse....on browser finaly it give warning classdenotfound junit.framework.testcase after googling i found that i have to include "junit-4.7.jar" to "WEB-INF/classes" folder of web application, but i am not making a website...sombody else in charge of it.i am not sure this will work or not.i think of making a web app to test it but it seems lil diffcult.
what do you advise?

Hi Darryl,

Sorry for posting same thread in another forum, it was urgent for me so am trying to get help soon.wont happen again.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic