title: Appending point (".") in JTextArea with rigth to left orientation
body: <p>I've come across unusual problem in Java (1.7 JRE), and I can't find a solution.</p>
  
  <p>I am using JTextArea to write text in it, in form of decimal number, for example 123.4 with right to left orientation. Every time I enter "." in turns up at the beginning of the text, like this .123 and when I enter next number it shows up like it should 123.4 </p>
  
  <p>It happens both when I try entering numbers with keyboard and via JButtons using method I wrote. Here's the part of the code:</p>
  
  <pre><code>        String number;
          JTextArea textAreaUnos;
          .
          .
          .
          number=number+".";
          textAreaUnos.setText(number);
  </code></pre>
  
  <p>I've also tried writing it like this:</p>
  
  <pre><code>textAreaUnos.append(".");
  </code></pre>
  
  <p>but the result is the same when I type, for example</p>
  
  <pre><code>123
  .123
  123.4
  </code></pre>
  
  <p>In left to right orientation, this is not happening.</p>
  
  <p>Has anyone had problem like this before, and have you managed to solve it?</p>