Explain the below Statement
if(ae.getSource()==b1)
Answers were Sorted based on User's Feedback
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 |
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 |
Which method is used for setting security in applets?
What are the benefits of swing over awt?
What are the differences between Swing and AWT?
please any one explain this project: Minimizing recovery state in geographic ad hoc routing
What are swings?
What is swing and its features in java?
What are swing controls?
What is a component in swing?
What is double buffering ?
What are the various components of swing?
What is swing control?
What are differences between swing and awt?