Answer Posted / s.krishna veni
buttons should be declared..
coding to add a button :
Button b1;
b1=new Button("ok");
add(b1);
and after declaring the button..,we should add it to the
applet window..
so that a button is added at run time..
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How many functional interfaces does java 8 have?
If you are given the name of the function at run time how will you invoke the function?
What is main function purpose?
Does google use java?
Why is java called the platform independent programming language?
How do you override a method in java?
How can you set an applet’s height and width as a percentage?
What is an example of a keyword?
What are the important methods of java exception class?
What is meant by method?
What is a stack class in java ?
Difference between == and .equals() ?
Which category the java thread do fall in?
What is static method with example?
What is the difference between final, finally and finalize()?