title: Display unicode characters in Java
body: <p>I tried to display some unicode characters in the range Sinhala (80: 0D80–0DFF) in java swing components. Those letters are displayed correctly in eclipse console, but those are shown as boxs in JButtons , JTextArea, JTextPane &amp; etc.</p>
  
  <pre><code>import java.awt.BorderLayout;
  import javax.swing.*;
  
  public class Unicode extends JFrame{
  
      public Unicode(){
  
          super("ක් කැ කැ කු අ ඉ");
  
          add(new JButton("ක් කැ කැ කු අ ඉ \u0D88"),BorderLayout.NORTH);
          add(new JTextField("ක් කැ කැ කු අ ඉ"), BorderLayout.CENTER);
  
          setSize(500,500);
          setVisible(true);
      }
  
      public static void main(String a[]){
          new Unicode();
      }
   }
  </code></pre>
  
  <p>I tried to display by using characters and character codes, but neither works. Many answers given by the google doesn't work. Please give me a help. I'm using windows 7 with java 1.6.</p>
  
  <p>Thank you...</p>