hoveredIndex = index;
fireElementChanged(oldIndex);
fireElementChanged(index);
-
+
Window oldTooltip = tooltip;
tooltip = null;
if (oldTooltip != null) {
return;
}
+ if (popup != null
+ && popup.isShowing()) {
+ return;
+ }
+
tooltip = newTooltip(index, me);
}
});
list.locationToIndex(e.getPoint()));
}
+ Window oldTooltip = tooltip;
+ tooltip = null;
+ if (oldTooltip != null) {
+ oldTooltip.setVisible(false);
+ }
+
popup.show(list, e.getX(), e.getY());
}
}