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 are the advantages and disadvantages of reference counting in garbage collection?
what is the difference between cd & dvd ?
30 Answers Lovely Professional University, Satyam, Sibylsys,
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
Which access specifier can be used with class ?
What is the use of a copy constructor?
How do you set security in applets?
When do we use synchronized methods in java?
Can a double value be cast to a byte?
what is prepare statement? what is calabedtarement?
Explain the access modifiers for a class, method and variables?
Where is the find and replace?
What is deserialization?