title: Unable to access processMouseMotionEvent from component
body: <p>I'm trying to emulate the mouse in a component in a JFrame, and I've come across <code>processMouseMotionEvent</code>. Supposedly I can pass a <code>MouseEvent</code> to this and it will process the MouseEvent in the component. I've tried this, but I get an error:</p>
  
  <p><code>processMouseMotionEvent(MouseEvent) has protected access in JComponent.</code></p>
  
  <p>I take it this means I'm doing this wrong and that I'm not supposed to be using the method how I am? This is a snippet of my code currently. How else can I process an emulated MouseEvent in a component if this wont work?</p>
  
  <pre><code>JWebBrowser j = new JWebBrowser();
  j.setBounds(0, 0, 1000, 1000);
  j.processMouseMotionEvent(new MouseEvent(this, 0, 0, 0, 5, 5, 2, false)); //ERROR
  panel.add(j);
  </code></pre>