Hey there guys,
I am in the process of the creating my first applet
. I have run into a problem though. I can run the applet through eclipse and the applet viewer pops up, says applet loaded, and my program starts(this was initially an application i have been transferring to applet). When it loads from eclipse, it connects, selects, inserts, and deletes to the database perfectly. However, and this could definitely be from me doing something incredibly basic wrong, when i run it through a html file i made with a reference to appletName.class, the browser window pops up, and nothing else.
I did however right click on the java icon and pulled up this error from the log:
Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)
Now obviously that isnt the whole error log, but it seemed like it was the most important. It appears to me, that it has something to do with my MySql database connecting. I did look up some information online, and many suggest to update my .policy file. Now, i don't know if this is a good idea or not, but i really have no clue what it means in the first place.
Any help with this would be really helpful, and i would truly appreciate it.
Also, i have hopes of running this off a a server for the place i work at, in order to allow everyone to have access through the browser by typing in something like- ip:port:file.
Thanks again, if anyone is willing to help and would like some more information ( i didnt really know what was all- too important, and all-not, as im not familiar with applets) i will do so asap.