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

How to link two forms in java swing?

1143


How is multi-threading gets implemented using swing?

947


What's java swing?

972


What is java swing gui?

879


What are the swing components?

918


Is swing an adjective?

988


What is java swing package?

942


What is container in java swing?

1014


What are swing controls?

949


What is the difference between a scrollbar and a jscrollpane ?

1329


Is swing an api?

955


What is the function of internal frame in swing?

1048


What is java swing application?

973


What is actionlistener in java swing?

978


Is java swing deprecated?

1076