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 different exception types exceptions available in java ?
Difference between error and exception
What is boolean logic?
What are the differences between heap and stack memory in java?
Can we have static methods in an interface?
How does a for loop work java?
what is the difference between preemptive scheduling and time slicing? : Java thread
What is the protected method modifier?
What is parameter tag and what is its use?
Can a class have multiple superclasses?
Can a set contain duplicates?
Which is better arraylist or vector?