// 0905, 096F and 097F are the Devanagari glyphs. 

import javax.swing.*; 

public class Unicode extends JFrame { 
  final String TEXT= "Hello \u0905\u096F\u097F\u2611\u2600\u26FF\u2300\u23FF"; 

  public Unicode() { 
    setSize(360,120); 
    setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); 
    setTitle(TEXT); 
    Box box= Box.createVerticalBox(); 
    box.add(new JButton(TEXT)); 
    box.add(new JLabel(TEXT)); 
    box.add(new JTextField(TEXT)); 
    add(box); 
    setVisible(true); 
  } 


  public static void main(String args[]) { 
    SwingUtilities.invokeLater(Unicode::new); 
  } 

} 