public void drawBuble() {
            if (getBubbleElement() != null && curButton.isSelected() && draggedElement == null && draggedObject == null) {
                int width = 0;
                int height = 0;
                if (getBubbleElement() instanceof AbsPlace) {
                    AbsPlace n = (AbsPlace) getBubbleElement();
                    width = n.getWidth();
                    height = n.getHeight();
                } else if (getBubbleElement() instanceof Transition) {
                    Transition n = (Transition) getBubbleElement();
                    width = n.getWidth();
                    height = n.getHeight();
                } else {
                    Node n = (Node) getBubbleElement();
                    width = n.getWidth();
                    height = n.getHeight();
                }
                SpeechBubble.drawBubble(g2d, getBubbleElement().getX() + width / 2, getBubbleElement().getY(), getBubbleElement().getNote());
            }
        }