title: Netbeans "Import Classes" Error Message
body: <p>When I copy codes from one file and paste it to another, a message dialogue opens as &quot;Import Classes&quot; says, &quot;Pasted code refers to the following not imported elements, resolve imports to include them?&quot;</p>
  <p><img src="https://i.stack.imgur.com/cNo1O.png" alt="enter image description here" /></p>
  <p>After &quot;OK&quot; then IDE gives message, as in following images (since one does not need to import java.lang classes),</p>
  <p><img src="https://i.stack.imgur.com/caqOv.png" alt="enter image description here" /></p>
  <p>and,</p>
  <p><img src="https://i.stack.imgur.com/F9zna.png" alt="enter image description here" /></p>
  <p>IDE otherwise compiles and runs correctly with no problem.</p>
  <p>Environment : NetBeans IDE 8.0 running Java programs on Windows 8.1, Java (JRE, JDK) 8.xx</p>