// create a test label with no interactor
Point2D.Double pos = new Point2D.Double(10., 150.);
g.add(g.makeLabel(pos, "Test Label", Color.yellow, font));
// test figure listener to demonstrate event handling
CanvasFigureListener listener = new CanvasFigureListener() {
public void figureSelected(CanvasFigureEvent e) {
System.out.println("Figure selected");
}
public void figureDeselected(CanvasFigureEvent e) {