How can i add a button in applet in java ???
Answers were Sorted based on User's Feedback
Answer / 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 |
Button b1=new Button("OK");
add(b1);
Is This Answer Correct ? | 0 Yes | 0 No |
what is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0
What is "finally" keyword?
What are the different tags provided in jstl?
What is natural ordering in java?
What is connection class in java?
What is private public protected in java?
Does java runtime require a license?
How do you create a null object?
why java uses class level type casting ?
which class to use when concatenating strings in a loop.
What is difference between fail-fast and fail-safe?
What is the format specifier?