Window cannot be resolved to a variable
<p>Why can't I call Window.FEATURE_NO_TITLE?   </p>

<p>It says Window cannot be resolved to a variable, it does not give me the import option in the pop up dialog.</p>

<pre><code> dialog_shownote = new Dialog(WrittenTest.this, R.style.PauseDialog);
    dialog_shownote.setContentView(R.layout.wr_dialog);
    dialog_shownote.requestWindowFeature(Window.FEATURE_NO_TITLE);
    dialog_shownote.setCancelable(true);
</code></pre>
