Is there a way to change/add applet parameters from within applet itself?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I do not think so. Applet parameters are defined on HTML page, are read by browser and passed to applet by java plug in via applet context. Even if you run code via LiveConnect and change dynamically the parameters of applet when applet is running it will not get new values because java plugin will not call its
init()method again.The big question is why do you need this? If you read some parameter from applet parameters you assign it to some variable inside applet. Do you want to change the value of this variable at runtime? Just do it, i.e. assign new value to this internal variable of applet.