title: replace handleEvent(Event e) by processEvent(AWTEvent e)
body: <p>I can't find a way to transform the code when replacing the deprecated function<code>handleEvent</code> with<code>processEvent</code>. can anyone help?</p>
  
  <p>how to get x, y and the id of the event on processEvent?</p>
  
  <p>here is my function:</p>
  
  <pre><code>public boolean handleEvent(Event evt) {
  
        if (evt.target == this) {
          // move floatting text zone
          if (dragingTextZone == true) {
              this.posStr.x = evt.x;
              this.posStr.y = evt.y;
              repaint(this.posStr.x,
                      this.posStr.y,
                      1000,
                      (int) (_imageViewer.getCurrent_font().getSize() * _imageViewer.getScalefactor()));
  
              if (evt.id == Event.MOUSE_DOWN) {
                  dragingTextZone = false;
                  addTextToPicture();
              }
          }
  
          if (evt.id == Event.MOUSE_DRAG) {
  
              if (dragitem.isDragging()) {
                  repaint(dragitem.getX(),
                          dragitem.getY(),
                          dragitem.getWidth(),
                          dragitem.getHeight());
                  dragitem.drag(evt.x, evt.y);
                  repaint(dragitem.getX(),
                          dragitem.getY(),
                          dragitem.getWidth(),
                          dragitem.getHeight());
              }
          }
          else {
              if (evt.id == Event.MOUSE_UP) {
                  // setting crop zone
                  if (dragingCropZone || dragingMask) {
                      endDrag(evt);
                  }
                  else if (dragingLine) {
                      addLineToPicture();
                      endDrag(evt);
                  }
              }
              if (evt.id == Event.MOUSE_DOWN) {
                  if (getEditMode() == EDTMODE_ALL) {
                      if (evt.modifiers == Event.CTRL_MASK) {
                          startDragHighLight(evt);
                      }
                      else if (evt.modifiers == Event.ALT_MASK) {
                          startDragLine(evt);
                      }
                      else {
                          if (clickedOnFocusedItem(evt)) {
                              startDragMask(evt);
                          }
                      }
                  }
              }
          }
      }
  
      return super.handleEvent(evt); // This passess the mouse click back up to Applet
  }
  </code></pre>
  
  <p>Thank you,</p>