コード例 #1
0
 /**
  * Gets TextLayout screen position.
  *
  * @param trackerPanel the tracker panel
  * @return the screen position point
  */
 protected Point getLayoutPosition(TrackerPanel trackerPanel) {
   Point pt = p.getScreenPosition(trackerPanel);
   pt.setLocation(pt.x - 4 - textLayoutFont.getSize(), pt.y - 6);
   return pt;
 }