Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / April 2004

Tip: Looking for answers? Try searching our database.

Method _not_ executed in Applet

Thread view: 
Steven Webster - 28 Apr 2004 21:43 GMT
Hi,

I have a weird problem with an applet.
It doens't generate some of the solutions, it should generate.
And these missing solutions are generated, if I execute the same
method in an console application.

So why is it possible, that the output of an applet is so much different
to the output of a console application, which does exactly the same?

I first thought was about the sandbox, applets are executed in.
But I have not found a restictions which is touched by my applet.
And no SecurityExceptions has been thrown.

The object creation is very long and consists of some other
method calls. Are long method calls a problem for Applets and Security?

Thx!
SW!
Roedy Green - 29 Apr 2004 00:38 GMT
>It doens't generate some of the solutions, it should generate.
>And these missing solutions are generated, if I execute the same
>method in an console application.

I am feeling unhappy.  What is wrong in my life?

There is not much to go on.  You will have to pepper your code with
debugging output and run it both and as Applet and as standalone.

Consider that the browser calls your start and stop methods, which you
probably don't do in your standalone.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.