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 |
What are swing components?
Hello ..Friends. I need a Code which makes a software of Enter the cheque Details.. means any enduser enter the details in a Particular field that should be printed on the paper On Cheque. at the backend side it sholud be printed on pdf file. Thanks in Advance
What are swing components in java?
What are heavyweight components? What is lightweight component?
Difference between ligt weight and heavy weight?
When i m clicking on next another frame is open but i want to hide the previous frame...........but it is not happening....still both frame are visible........how to make one frame to hide.......please help me.......
What is layout in java swing?
Why swings are used in java?
Why do we use swing in java?
Where is java swing used?
What are the two key features of swing?
Which swing methods are thread-safe?