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

How does compareto work in java?

0 Answers  


How to make object serializable in java?

0 Answers  


Write a program in java to create a doubly linked list containing n nodes.

0 Answers  


Can we create our own wrapper class in java?

0 Answers  


what is platform dependent translation and platform dependent programming language

2 Answers  


Write a program to show whether a graph is a tree or not using adjacency matrix.

0 Answers   Amazon,


What is data member in java?

0 Answers  


What do you mean by Function Overloading in java?

0 Answers   Impetus,


What is a type parameter in java?

0 Answers  


Why set do not allow duplicates in java?

0 Answers  


what is difference between business delegate and data access object(dao)? in java?

1 Answers  


Difference between method overloading and overriding.

0 Answers  


Categories