mEvent = new PropertyChangeEvent(mEvent);
} else if (mEvent.getType().contains("DocumentEvent")) {
mEvent = new DocumentEvent(mEvent);
mEvent.setType("DocumentEvent");
} else if (mEvent.getType().equals("ActionEvent")) {
mEvent = new ActionEvent(mEvent);
} else if (mEvent.getType().equals("ItemEvent")) {
mEvent = new ItemEvent(mEvent);
} else if (mEvent.getType().equals("TreeSelectionEvent")) {
mEvent = new TreeSelectionEvent(mEvent);
} else if (mEvent.getType().equals("ChangeEvent")) {