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)

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / 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

More Swing Interview Questions

Why swings are used in java?

0 Answers  


I want to change the appearance of Frame in Runtime, what class can be used to do this?

2 Answers   TCS, Wipro,


how to give transparency for JComboBox,JListBox and JTable

2 Answers   TCS,


Name the borders provided by Swing?

1 Answers   Accenture,


what are the steps required in creating an empty table drop?

0 Answers  


what is difference between checked and unchecked exception plz explain examples ?

5 Answers   Fujitsu,


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

0 Answers  


What is the what is the difference between invokeandwait() and invokelater()? ?

0 Answers  


What are swing components in java?

0 Answers  


What are the advantages of java swing over angular?

0 Answers  


How to create image slideshow in java swing?

0 Answers  


Which method is used for setting security in applets?

0 Answers  


Categories