ToolTipText
It is that a ToolTipText will be shown when you make a movement with the mouse. It will help you get more information of the Button you are ready to press.Then make some explains of it:
String tooltiptext1="Click me";
String tooltiptext2=""+"tooltiptext in
Multine";
Multine";
//It's a sentence of the HTML.
JButton jb1=new JButton();
JButton jb2=new JButton();
jb1.setToolTipText(tooltiptext1);
jb2.setToolTipText(tooltiptext2);
0 Comments:
Post a Comment
<< Home