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 is the exception hierarchy in java?
When can you say a graph to be a tree?
What are the common uses of "this" keyword in java ?
What are static initalizers in java ?
How to add two numbers with out using Arithmetic , union operators in java....? But we can use bitwise operators... but how...?
What is square root in java?
How do you get length in java?
how to identify duplicate values in arraylist
How java is similar to c?
Is alive method in java?
Name few java 8 annotations ?
What does g mean in regex?