title: There's a private Class "P" in A.java ("P" uses some methods in A.java), how can B.java access "P"?
body: <p>Ok, I have a <code>private class MyClickHandler</code> in Order.java. I want Customer.java to be able to use <code>MyClickHandler</code>, but I don't want to copy the exact code of <code>private class MyClickHandler</code> to B.java.</p>
  
  <p>However, the problem is that <code>MyClickHandler</code> also uses some methods in Order.java. Luckily, these methods also needs to be used in Customer.java.</p>
  
  <p>Order.java</p>
  
  <pre><code>public class Order{
      private class MyClickHandler implements ClickHandler{
          CheckBox myCheckBox;
          MyTextColumn myTextColumn;
          public MyClickHandler(CheckBox myCheckBox, MyTextColumn myTextColumn){
              this.myCheckBox=myCheckBox;
              this.myTextColumn=myTextColumn;
          }
          @Override
          public void onClick(ClickEvent event) {
              // TODO Auto-generated method stub
              if(myCheckBox.getValue()){
                  insertColumn(myTextColumn);
              }
          }
       }
       public void insertColumn(MyTextColumn myTextColumn){
           // This method is also called by other methods in Order.java
       }
       public void removeColumn(MyTextColumn myTextColumn){
           // This method is also called by other methods in Order.java
       }
  
  }
  </code></pre>
  
  <p>Now I want Customer.java to use <code>MyClickHandler</code>. Besides, it also needs to use methods <code>insertColumn</code> &amp; <code>removeColumn</code></p>