I've been posting quite a few of these. Don't worry, it's all over tomorrow. You guys have been of great help.
Is there anyway I can trigger something when a mouse moves over one of the components in a JFrame.
For example, I have a checkbox (JCheckBox). I want it so that when the user hover's the mouse over the checkbox, a JLabel's text is changed. I know there is a similar thing for a mouse click, but I'm sure how to go about doing one for mouse over.
Question
vie7now
I've been posting quite a few of these. Don't worry, it's all over tomorrow. You guys have been of great help.
Is there anyway I can trigger something when a mouse moves over one of the components in a JFrame.
For example, I have a checkbox (JCheckBox). I want it so that when the user hover's the mouse over the checkbox, a JLabel's text is changed. I know there is a similar thing for a mouse click, but I'm sure how to go about doing one for mouse over.
Thank you.
-0
Link to comment
Share on other sites
4 answers to this question
Recommended Posts