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
How does accessibility works in swings?
What is swing components in java?
How to print in java swing application?
Which method is used for setting security in applets?
What is difference between awt and swing?
What are the advantages of swing?
Which method is used by the applet to recognize the height and width?
What is jpanel swing?
What are heavyweight components? What is lightweight component?
What is the relationship between clipping and repainting?
Why do we use swing in java?
What is difference between jframe and swing?
What is swing in java javatpoint?
Explain the difference between swing and jsf.
What is Java Swing?