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 triggered component, so basically this statement means this condition will be true if triggered component is b1(b1 can be any component like button).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is swing still used in java?

1012


Which window contains the swing controls?

1002


Why are swing components called lightweight?

1038


What is swing delegation event model in java?

1144


What are the differences between Swing and AWT?

1178


Is swing part of core java?

1052


What is the difference between invokeAndWait() and invokeLater()?

1125


Which package is needed for swing components?

968


What is javax swing joptionpane?

1048


Is swing an adjective?

1059


What is the purpose of serialization in swings?

1072


Is swing thread-safe?

1042


Why is model-view-controller architecture used in swing?

1021


What is pane in swing?

994


Why swings are used in java?

1013