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 |
How can you say HashMap is syncronized?
What is the difference between choice and list?
What is the common usage of serialization?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
How does compareto work in java?
What are the procedures?
What is the life cycle of Thread ?
12 Answers HCL, Varnar Softech,
Explain the difference between the Boolean & operator and the && operator?
Can a static class have a constructor?
diff between abstract methods and interfaces with programing (code) example?
Explain the difference between protected and default access.
What is the diffrence between inner class and nested class?