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 |
Define inheritance?
Explain the relationship between the Canvas and Graphics class?
when to use ArrayList and when to use HashMap in webApplication.
How do you check if two given string are anagrams?
Name the method that is used to set a TextComponent to the read-only state?
What is a values collection view ?
What is flush buffer?
Can an unreachable object become reachable again?
Explain how to convert any java object into byte array.
What does math floor () do?
What do you mean by access modifier?
How can we create objects if we make the constructor private ?