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 |
Who created the swing?
When we should go for codebase in applet?
What is the mean of swing?
What is layout in java swing?
Where is java swing used?
What is sling swing?
What is the process of setting the layout manager?
What is swing container?
What is an on stage swing?
Hello Everyone.. I m trying to develop a java swing application where i can display a doc file Jeditorpane or Jtextpane.
What is jlabel java swing?
What is JTable and what is its purpose?