Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is close method? How it's different from Finalize & Dispose?

1064


What is a superclass?

1348


What is singleton class example?

1025


How would you convert bytes to string?

987


Is 0 a prime number?

992


How do you create a sop?

1004


Describe the process as to how substring() methodology mechanisms in java.

1129


In how many ways we can do synchronization in java?

968


When do we need to use internal iteration? When do we need to use external iteration?

1125


What do you mean by mnemonics?

1051


Explain the significance of listiterator.

1106


What is the difference between import java.util.date and java .util?

1052


What is jrmp?

968


Explain what are final variable in java?

1075


What are the types of strings?

1035