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 |
Write a program to include the internal frame in swing.
Why should the implementation of any swing callback (like a listener) execute quickly?
what is difference between checked and unchecked exception plz explain examples ?
Why would you use swingutilities.invokeandwait or swingutilities.invokelater?
What is the use of double buffering in swings?
How to align components in java swing?
What are swing controls?
What is the design pattern that java uses for all swing components ?
Is java swing a framework?
What is jlabel java swing?
What is awt and swing in java?
please any one explain this project: Minimizing recovery state in geographic ad hoc routing