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

What are swing components in java?

864


Explain how to render an html page using only swing.

1411


What are the components of swing in java?

917


What is Java Swing?

994


Why are swing components called lightweight components?

865


What is the use of jfc in java swing?

1025


Why swing is used in java?

947


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

989


Which layout does swing use by default?

937


What is the difference between applications and applets?

1040


How to move from one page to another in java swing?

1021


How to reload a jframe in java swing?

974


What is content pane in swing?

902


Which package is needed for swing components?

852


What are the different types of layout managers used in swing?

909