if (createdRB != null) {
if (!createdRB_dragged) {
Container parent = createdRB.getParent();
parent.remove(createdRB);
parent.validate();
parent.repaint();
} else {
//translate this e to a MouseEvent for createdRB
MouseEvent newE = SwingUtilities.convertMouseEvent(this, e, createdRB);
createdRB.mouseReleased(newE);
}