SwingNanoGraphPanel p = null;
public void init() {
DefaultGraphModel g = new DefaultGraphModel();
p = new SwingNanoGraphPanel();
p.setBorder(new LineBorder(Color.darkGray, 1, true));
p.addMouseListener(new MouseAdapter(){
public void mouseClicked(MouseEvent e)
{