aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/ToolTipManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/ToolTipManager.java')
-rw-r--r--libjava/javax/swing/ToolTipManager.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/libjava/javax/swing/ToolTipManager.java b/libjava/javax/swing/ToolTipManager.java
index 6245786..667e260 100644
--- a/libjava/javax/swing/ToolTipManager.java
+++ b/libjava/javax/swing/ToolTipManager.java
@@ -466,9 +466,9 @@ public class ToolTipManager extends MouseAdapter implements MouseMotionListener
/**
* This method displays the ToolTip. It can figure out the method needed to
* show it as well (whether to display it in heavyweight/lightweight panel
- * or a window.)
+ * or a window.) This is package-private to avoid an accessor method.
*/
- private void showTip()
+ void showTip()
{
if (! enabled || currentComponent == null)
return;
@@ -535,8 +535,9 @@ public class ToolTipManager extends MouseAdapter implements MouseMotionListener
/**
* This method hides the ToolTip.
+ * This is package-private to avoid an accessor method.
*/
- private void hideTip()
+ void hideTip()
{
if (currentTip == null || ! currentTip.isVisible() || ! enabled)
return;