}
public static MouseEvent createMouseEvent(ItsNatDocument itsNatDoc)
{
Document doc = itsNatDoc.getDocument();
AbstractView view = ((DocumentView)doc).getDefaultView();
MouseEvent event = (MouseEvent)((DocumentEvent)doc).createEvent("MouseEvents");
event.initMouseEvent("click",true,true,view,0,
0,0,0,0,false,false,false,false,(short)0/*left button*/,null);
return event;