title: Unicode special characters appearing in Java console, but not in Swing
body: <p>I'm attempting to add some high-range unicode characters to a JLabel inside of a JFrame, but they only show up as boxes despite using a known supported font. However, when I print these same characters to the Eclipse console, they show up just fine. Here is my code, with "frame" being my JFrame and "textField1" being my JLabel. The Monaco font is the same font that the Eclipse console uses, and is know to support this unicode character:</p>
  
  <pre><code>JFrame frame = new JFrame();
  JLabel textField1 = new JLabel();
  frame.add(textField1);
  frame.setFocusable(true);
  frame.setLayout(new BoxLayout(getContentPane(), BoxLayout.PAGE_AXIS));
  frame.setPreferredSize(new Dimension(1000, 500));
  frame.requestFocusInWindow();
  frame.textField1.setFont(new Font("Monaco", Font.PLAIN, 11 ));
  frame.textField1.setText("\uD83C\uDF2D"); 
  frame.pack();
  frame.setVisible(true);
  </code></pre>
  
  <p>I've tried setting the JLabel to many different fonts, but all that changes is the relative shape of the "missing character" box. However, if I print this:</p>
  
  <pre><code>System.out.println("\uD83C\uDF2D");
  </code></pre>
  
  <p>the character prints as expected in the console. Is there some encoding issue that prevents these symbols from working in Swing? </p>