Hi
My problem is
I want to show the button name whenever the user hover the mouse on that button as it is in normal windows so how can i do it please help
Thanks in advance
Printable View
Hi
My problem is
I want to show the button name whenever the user hover the mouse on that button as it is in normal windows so how can i do it please help
Thanks in advance
Set the tooltip text of the button
Code :JButton button = new JButton("Do Something"); button.setToolTipText("This does something");