title: Why javax.swing instead of java.swing?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2004759/why-import-javax-swing-why-not-import-java-swing">why import javax.swing.* why not import java.swing.*</a>  </p>
  </blockquote>
  
  
  
  <p>This may seem as a stupid question, but why was the Java Swing Framework(a.k.a Java Foundation Classes) put in the <strong>javax</strong> package instead of the <strong>java</strong> package like the Abstract Window Toolkit?</p>
  
  <pre><code>import javax.swing.*
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>import java.swing.*
  </code></pre>
  
  <p>What is the difference between <strong>java</strong> and <strong>javax</strong>?</p>