RenderingHints.VALUE_ANTIALIAS_ON);
g2.setColor(Color.white);
g2.fillRect(0, 0, width, height);
-
g2.setFont(font);
+ if (longestName==null || tree ==null)
+ {
+ g2.drawString("Calculating tree.",20,20);
+ }
offy = font.getSize() + 10;
fm = g2.getFontMetrics(font);