How can i add a button in applet in java ???

Answer Posted / giridhar gangapatnam

Button b1=new Button("OK");
add(b1);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by constant time complexity?

594


Is java developer a good career?

546


Explain listiterator and methods in listiterator?

541


Does garbage collection occur in permanent generation space in jvm?

597


Can bool be null?

516






What is definition and declaration?

515


Which class represents the socket that both the client and server use to communicate with each other?

562


How are destructors defined in java?

563


What is byte [] in java?

525


How will you call an Applet using Java Script Function?

536


Differece between class and generic class?

561


What are the methods to rectify ambiguities in the interfaces in JAVA?

580


Explain java thread life cycle.

576


What are the various access specifiers in java?

559


What is runtime locatable code?

855