466 |
/** |
/** |
467 |
* This method displays the ToolTip. It can figure out the method needed to |
* This method displays the ToolTip. It can figure out the method needed to |
468 |
* show it as well (whether to display it in heavyweight/lightweight panel |
* show it as well (whether to display it in heavyweight/lightweight panel |
469 |
* or a window.) |
* or a window.) This is package-private to avoid an accessor method. |
470 |
*/ |
*/ |
471 |
private void showTip() |
void showTip() |
472 |
{ |
{ |
473 |
if (! enabled || currentComponent == null) |
if (! enabled || currentComponent == null) |
474 |
return; |
return; |
535 |
|
|
536 |
/** |
/** |
537 |
* This method hides the ToolTip. |
* This method hides the ToolTip. |
538 |
|
* This is package-private to avoid an accessor method. |
539 |
*/ |
*/ |
540 |
private void hideTip() |
void hideTip() |
541 |
{ |
{ |
542 |
if (currentTip == null || ! currentTip.isVisible() || ! enabled) |
if (currentTip == null || ! currentTip.isVisible() || ! enabled) |
543 |
return; |
return; |