public void renderDeferred(Graphics2D g) {
if (!hover || activeNode.get() == null)
return;
- if (labels.isEmpty() || mousePosition == null)
+ if (labels == null || labels.isEmpty() || mousePosition == null)
return;
AffineTransform ot = g.getTransform();
Font of = g.getFont();