title: Binary string to text string Java Code
body: <p>I have read several posts on this topic, but none of the codes provided (sometimes fragments) helped me to resolve my simple problem of converting a binary string like this one: </p>
  
  <pre><code>01100111 01101111 01101111 01100100 00100000 01001101 01101111 01110010 01101110 01101001 01101110 01100111 00100000
  </code></pre>
  
  <p>Into a text string 
  Good Morning</p>
  
  <p>I am probably unable to put together the code fragments that I found in the links that are available in stackoverflow. Would someone be so kind and give me the full code?
  Assume i have the input string (text) coming from a JTextarea which I am accessing through "gettext()" 
  e.g. 
  text = tTextarea.gettext();</p>
  
  <p>so it is the 
  text would be -</p>
  
  <pre><code>01100111 01101111 01101111 01100100 00100000 01001101 01101111 01110010 01101110 01101001 01101110 01100111 00100000)
  </code></pre>
  
  <p>that needs to be processed to the answer.
  Assume I will put the output string (=answer) into the same Textarea with "settext(). 
  ttextarea.settext(answer)</p>
  
  <p>thanks in advance. </p>