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 the importance of hashcode() and equals() methods?

1012


Can an object subclass another object?

1032


What is * argv?

1177


What value is a variable of the string type automatically initialized?

1063


Explain Basics of OOP Language in java

993


What is role of void keyword in declaring functions?

998


What is computer compiler?

942


Can you declare the main method as final?

966


design an lru cache in java?

944


What is rule of accessibility in java?

968


What is finally in Java?

1022


Can you declare an interface method static?

1015


What is the use of static class?

1098


What are the benefits of operations?

904


What is difference between final and finally in java?

1038