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

When we should go for codebase in applet?

1068


What is event in java swing?

963


What method is used to specify a container's layout?

993


What are the different components that are used to show a container?

1008


What is the role of java swing?

959


What is awt and swing in java?

981


How to align components in java swing?

1125


What are the benefits of swing over awt?

1190


How to link two forms in java swing?

1176


Why swing components are called lightweight components?

963


Why are swings considered lightweight?

1034


Which package is needed for swing components?

912


Hello Everyone.. I m trying to develop a java swing application where i can display a doc file Jeditorpane or Jtextpane.

2184


What are swings?

988


Explain the difference between swing and jsf.

1132