How to initialize an Applet ?
Answers were Sorted based on User's Feedback
Answer / kalamata kalyani
By using init() method we can initialize applet.This
function is called only once at the beginning of the
program.
| Is This Answer Correct ? | 21 Yes | 4 No |
Answer / devarathnam c,kotagudibanda(po
Hi...
Using public void init();method of the Applet life cycle we
can initialize an applet.
| Is This Answer Correct ? | 19 Yes | 6 No |
Answer / pakaj nigam
hi applet is to be initialized as this method
public void init()
init-refers to initialized
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / raushan
/* <applet code=classname.class width="500" height="500"></applet> */
add this code in your program as it is written (along with comment symbol) just after import of packages.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / urooj khan
simply make ur class public...that's it... :)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / david
I cannot initialize my applet. Can anyone tell me in an easy
way, being a newbie, how to get it upl and running please
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / ravikiran(aptech mumbai)
inorder to initialize applet we have to override init()
method of the Applet class
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / sleep
my runescape.com will not work it says applet not initialize
| Is This Answer Correct ? | 0 Yes | 4 No |
what are the purposes of native, transiant key words?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
Which containers use a flowlayout as their default layout in java programming?
when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.
How can i add a button in applet in java ???
We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.
Difference between abtsract & final
Which method must be implemented by all threads?
What is the importance of static variable?
What are Inner classes?
How do you check if a number is a perfect square?
What is the purpose of void class?