@Override
	public void mouseClicked(MouseEvent e) {
		if (e.getClickCount() == 2) {
			for (Component ele : elements) {
				if (ele.contains(e.getPoint())) {
					setSelected(ele);
					repaint();
					ele.fireDefaultAction(new Point(e.getXOnScreen()
							+ ele.width / 2, e.getYOnScreen() + ele.height / 2));
					// repaint();
					break;
				}
			}
		}
	}