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

Explain the below Statement
if(ae.getSource()==b1)

Answer Posted / nilam

getSource() method will return the component which is triggered, so basically this statement means if condition will be true if triggered component is b1(button b1).

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are differences between swing and awt?

1018


What is swing gui in java?

1097


Is swing an api?

966


What is frame in java swing?

1012


What is the use of jcomponent class in swing?

1054


What is the design pattern that java uses for all swing components ?

919


What is the purpose of serialization in swings?

1006


What is the process of setting the layout manager?

1051


Which swing methods are thread-safe?

1115


When we should go for codebase in applet?

1068


What does javax swing do?

990


What is difference between awt and swing?

1054


Which is better swing or awt?

977


What are the advantage of swing over awt?

1018


Why should any swing call back implementation execute quickly?

1208