panel.removeMouseListener(listeners[1]);
//}
// adds our own MouseListener for opening
// URL in applet context.
panel.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() == 1) {
// the coord where the user has double-clicked
int x = e.getX();
int y = e.getY();