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

Define inheritance?

0 Answers  


Explain the relationship between the Canvas and Graphics class?

1 Answers  


when to use ArrayList and when to use HashMap in webApplication.

1 Answers  


How do you check if two given string are anagrams?

0 Answers  


Name the method that is used to set a TextComponent to the read-only state?

1 Answers  


What is a values collection view ?

0 Answers  


What is flush buffer?

0 Answers  


Can an unreachable object become reachable again?

3 Answers  


Explain how to convert any java object into byte array.

0 Answers  


What does math floor () do?

0 Answers  


What do you mean by access modifier?

0 Answers  


How can we create objects if we make the constructor private ?

0 Answers  


Categories