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 does compareto work in java?
How to make object serializable in java?
Write a program in java to create a doubly linked list containing n nodes.
Can we create our own wrapper class in java?
what is platform dependent translation and platform dependent programming language
Write a program to show whether a graph is a tree or not using adjacency matrix.
What is data member in java?
What do you mean by Function Overloading in java?
What is a type parameter in java?
Why set do not allow duplicates in java?
what is difference between business delegate and data access object(dao)? in java?
Difference between method overloading and overriding.