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 |
Can a constructor be private and how are this() and super() method used with constructor?
0 Answers Flextronics, Hexaware,
Give an example of call be reference significance.
Explain about static imports in java?
What are the advantages of exception handling in java?
In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?
What is blank final variable?
Which is better 64 bit or 32 bit?
How to check if a list is sorted in java?
What are the difference between string, string builder, and string buffer in java?
What is casting in java programming?
How to find the given number is a prime number or not by getting input from the user
Is Java a dying language?