* event or an event in the form "drop[mimeType1,mimeType2]"
*/
public void addListener(String event, String name, GUIEventListener listener) throws GUIException {
if (event.equals("drag")) {
DragHandler handler = new DragHandler(this, listener, name);
DragSource dragSource = DragSource.getDefaultDragSource();
dragSource.createDefaultDragGestureRecognizer(getRealWidget(), DnDConstants.ACTION_COPY_OR_MOVE, handler);
} else if (event.startsWith("drop[") && event.endsWith("]")) {
try {
StringTokenizer tokenizer = new StringTokenizer(event.substring(5, event.length() - 1), ", ");
DataFlavor flavors[] = new DataFlavor[tokenizer.countTokens()];