private PropertyChangeSupport listeners = new PropertyChangeSupport(this); private int x, y, width, height;

public class RectangleNodeFigure extends RectangleFigure public RectangleNodeFigure() setBackgroundColor(ColorConstants.lightBlue); setForegroundColor(ColorConstants.blue); setLineWidth(2);