title: Netbeans - input.hasNext() does nothing upon hitting ctrl+z
body: <pre><code>while ( input.hasNext() ) {
              i = input.nextInt();
              //System.out.println();
              System.out.print("Bla: ");            
          }
  </code></pre>
  
  <p>this was just a test app/code. When I hit ctrl+z I just hear the <em>ding</em> Windows sound (aka you're doing it wrong sound &lt;.&lt;) and nothing happens, program continues running normally. I tested it in another app and input.hasNext() does return the correct True boolean value, it just won't recognize Ctrl+Z. Using Netbeans 6.9.1 and Windows 7.</p>