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 is the exception hierarchy in java?

0 Answers  


When can you say a graph to be a tree?

0 Answers   Amazon,


What are the common uses of "this" keyword in java ?

0 Answers  


What are static initalizers in java ?

0 Answers  


How to add two numbers with out using Arithmetic , union operators in java....? But we can use bitwise operators... but how...?

4 Answers   CTS, Satyam,


What is square root in java?

0 Answers  


How do you get length in java?

0 Answers  


how to identify duplicate values in arraylist

2 Answers   TCS,


How java is similar to c?

0 Answers  


Is alive method in java?

0 Answers  


Name few java 8 annotations ?

0 Answers  


What does g mean in regex?

0 Answers  


Categories