title: How to translate a UML class diagram into code (java)?
body: <p>I am a beginner (this will soon become obvious) and I can not figure out how to translate this diagram:
  <a href="http://imgur.com/hbmKtxM" rel="nofollow">UML class diagram</a></p>
  
  <p>What I need help with is how to create the association and dependency relationships. For example, could you tell me what the completed lab4.SimpleDraw would look like, according to this diagram? From that, I should be able to figure out the rest on my own. So far, all I have for this one specifically is:</p>
  
  <pre><code>package lab4;
  
  public class SimpleDraw {
  
  }
  </code></pre>
  
  <p>so basically nothing.</p>