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 do you swing an applet?
What is swing control in java?
What are the advantage of swing over awt?
What is swing container?
What is swing?
What are the advantages of swing?
What are the advantages of java swing over angular?
What are the different types of layout managers used in swing?
In what context should the value of swing components be updated directly?
How to render an html page using only swing.
What are heavy weight components ?
What is swing in java javatpoint?
Why does JComponent have add() and remove() methods but Component does not?
Why should the implementation of any swing callback (like a listener) execute quickly?
What is an on stage swing?