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 can we break singleton in java?
How to make a class or a bean serializable?
How do you define a set in java?
How we can make copy of a java object?
Which software is used for java programming?
What is main method?
Can you declare an interface method static?
What is meant by tab pans?
What’s the difference between callable and runnable?
List the different types of classloaders in java.
What is the SimpleTimeZone class?
What is hashing in java?
Why java is not 100% object-oriented?
What is 16 bits called?
What is an infinite loop in java? Explain with an example.