import java.awt.AlphaComposite;
import java.awt.Color;
-import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.ActionEvent;
public void draw(boolean showSequenceFeatures, boolean showAnnotation,
FeatureRenderer transferRenderer)
{
- System.out.println(this.getHeight());
- //od.setHeight(this.getHeight());
- //od.setWidth(this.getWidth());
- setPreferredSize(new Dimension(od.getWidth(), od.getHeight()));
+ // System.out.println(this.getHeight());
+ // setPreferredSize(new Dimension(od.getWidth(), od.getHeight()));
miniMe = null;
veryLastMiniMe = lastMiniMe;
}
else
{
+ System.out.println("Resetting height from/to: " + od.getHeight()
+ + " " + getHeight());
od.setWidth(getWidth());
od.setHeight(getHeight());
}
(av.isShowAnnotation() && av
.getAlignmentConservationAnnotation() != null));
+ // setSize(od.getWidth(), od.getHeight() + 20);
+
setLayout(new BorderLayout());
progressPanel = new ProgressPanel(OverviewRenderer.UPDATE,
MessageManager.getString("label.oview_calc"));
}
}
else
- // if (!av.getWrapAlignment())
{
if (!od.isPositionInBox(evt.getX(), evt.getY()))
{
}
});
- // updateOverviewImage();
+ setPreferredSize(new Dimension(od.getWidth(),
+ od.getHeight()));
}
/*
}
setPreferredSize(new Dimension(od.getWidth(),
- od.getHeight()));
+ od.getHeight() + progressPanel.getHeight()));
if (oviewCanvas.restartDraw())
{