minor - captured infoline as tooltiptext

This commit is contained in:
Heng Sin Low 2009-05-19 18:23:07 +00:00
parent 1287c345ef
commit ab7f59032b
1 changed files with 23 additions and 22 deletions

View File

@ -156,6 +156,7 @@ public class StatusBarPanel extends Panel implements EventListener
public void setInfo (String text)
{
infoLine.setValue(text != null ? text : "");
infoLine.setTooltiptext(text);
if (text == null || text.trim().length() == 0)
infoLine.setVisible(false);
else