aspose file tools*
The moose likes Applets and the fly likes Applet not working properly on browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet not working properly on browser" Watch "Applet not working properly on browser" New topic
Author

Applet not working properly on browser

kate robin
Greenhorn

Joined: Jul 09, 2012
Posts: 9
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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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

Joined: May 03, 2008
Posts: 4529
    
    5

Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/java-applets/61341-applet-junit.html


luck, db
There are no new questions, but there may be new answers.
kate robin
Greenhorn

Joined: Jul 09, 2012
Posts: 9
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.....
 
Don't get me started about those stupid light bulbs.
 
subject: Applet not working properly on browser