*
*/
public void paint(Graphics g)
{
g.translate(translate.x, translate.y);
eventSource.fireEvent(new mxEventObject(mxEvent.BEFORE_PAINT, "g",
g));
super.paint(g);
eventSource
.fireEvent(new mxEventObject(mxEvent.AFTER_PAINT, "g", g));
g.translate(-translate.x, -translate.y);
}