g.drawImage(linkImage, x, i * fontHeight + 1, this);\r
if (lindex + 6 < tip[i].length())\r
{\r
- g.drawString(tip[i].substring(lindex + 6), x\r
- + linkImage.getWidth(this), (i + 1) * fontHeight - 3);\r
+ g.drawString(tip[i].substring(lindex + 6),\r
+ x + linkImage.getWidth(this), (i + 1) * fontHeight - 3);\r
}\r
}\r
else\r
{\r
return;\r
}\r
- setLocation((owner.getLocationOnScreen().x - mainContainer\r
- .getLocationOnScreen().x)\r
- + evt.getX(), (owner.getLocationOnScreen().y\r
- - mainContainer.getLocationOnScreen().y + VERTICAL_OFFSET)\r
- + evt.getY());\r
+ setLocation(\r
+ (owner.getLocationOnScreen().x - mainContainer.getLocationOnScreen().x)\r
+ + evt.getX(),\r
+ (owner.getLocationOnScreen().y\r
+ - mainContainer.getLocationOnScreen().y + VERTICAL_OFFSET)\r
+ + evt.getY());\r
\r
// correction, whole tool tip must be visible\r
if (mainContainer.getSize().width < (getLocation().x + getSize().width))\r