private boolean disposed = false;
- private BufferedImage lastMiniMe = null;
+ BufferedImage lastMiniMe = null;
// Can set different properties in this seqCanvas than
// main visible SeqCanvas
synchronized void finalizeDraw(BufferedImage miniMe)
{
- if (or == null)
- {
- System.out.println("OC or is null");
- }
- else if (showProgress)
+ if (showProgress && or != null)
{
or.removePropertyChangeListener(progressPanel);
}
}
else
{
- if (showAnnotation)
+ if (showAnnotation && or != null)
{
or.drawGraph(av.getAlignmentConservationAnnotation());
}
od.drawBox(g);
}
- private int ndraw, npaint, nrepaint;
+ // private int ndraw, npaint, nrepaint;
// @Override
// public void repaint()