title: Error when show UTF8 String with build mode in java
body: <p>I have a hex string (sA) convert from UTF8 string.
  When I convert hex string sA to UTF8 string, I can't show it in form UI with build mode (run file .jar) but when I run with run mode or debug mode UTF8 string can show in form UI.
  I use netbeans IDE 7.3.1.
  My code below:</p>
  
  <pre><code>public String hexToString(String txtInHex) {
      byte[] txtInByte = new byte[txtInHex.length() / 2];
      int j = 0;
      for (int i = 0; i &lt; txtInHex.length(); i += 2) {
          txtInByte[j++] = Byte.parseByte(txtInHex.substring(i, i + 2), 16);
      }
      return new String(txtInByte);
  }
  
  private String asHex(byte[] buf) {
      char[] chars = new char[2 * buf.length];
      for (int i = 0; i &lt; buf.length; ++i) {
          chars[2 * i] = HEX_CHARS[(buf[i] &amp; 0xF0) &gt;&gt;&gt; 4];
          chars[2 * i + 1] = HEX_CHARS[buf[i] &amp; 0x0F];
      }
      return new String(chars);
  }
  </code></pre>