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 ???

Answers were Sorted based on User's Feedback



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

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

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

Answer / giridhar gangapatnam

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are different exception types exceptions available in java ?

0 Answers  


Difference between error and exception

3 Answers   Nous, TCS,


What is boolean logic?

0 Answers  


What are the differences between heap and stack memory in java?

0 Answers  


Can we have static methods in an interface?

0 Answers  


How does a for loop work java?

0 Answers  


what is the difference between preemptive scheduling and time slicing? : Java thread

0 Answers  


What is the protected method modifier?

0 Answers  


What is parameter tag and what is its use?

1 Answers  


Can a class have multiple superclasses?

0 Answers  


Can a set contain duplicates?

0 Answers  


Which is better arraylist or vector?

0 Answers  


Categories