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
How to link two forms in java swing?
How is multi-threading gets implemented using swing?
What's java swing?
What is java swing gui?
What are the swing components?
Is swing an adjective?
What is java swing package?
What is container in java swing?
What are swing controls?
What is the difference between a scrollbar and a jscrollpane ?
Is swing an api?
What is the function of internal frame in swing?
What is java swing application?
What is actionlistener in java swing?
Is java swing deprecated?