import javax.swing.JFrame; import javax.swing.JTextArea; public class SupplementaryCharTest1_1 { public static void main(String[] args) { int codePoint = 0x00010400; JFrame frame = new JFrame("SupplementChar"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setSize(200, 200); JTextArea area = new JTextArea(); area.append(String.format("Char U+0010400 = %c\n", codePoint)); area.append(String.format("U+0010400 is %s%n", Character.UnicodeBlock.of(codePoint))); frame.getContentPane().add(area); frame.setVisible(true); } }