rfig = g.makeRoiEllipse(e6, CoordinateConverter.USER, Color.green, Color.yellow, 2.0F);
g.add(rfig);
rfig.addCanvasFigureListener(listener);
// test the area selection once
g.selectArea(new SelectedAreaListener() {
public void setSelectedArea(Rectangle2D r) {
System.out.println("Selected area: " + r);
}
});