title: JTextField together with HTML tags
body: <p>I am working on Java 7. I am trying to format text by using HTML tags. I pass in text into </p>
  
  <pre><code>JTextField text = new JTextField();
  text.setText("&lt;html&gt;&lt;body&gt;&lt;p&gt;The program performs encryption operations on the following ciphers: &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;");
  </code></pre>
  
  <p>But the program prints the HTML tags too. That sample of text  is only an example.
  What might be the problem?
  Cheers</p>