I have set the font of the JTextArea to be the same as the JFrame, -
The title bar of a JFrame is not a Swing component, it is an OS widget. So the font used by the OS is not the same as the Font returned in the getFont() method of the frame. Therefore the Font of the text area is not the Font you think it should be which is why the text area can't render the character.
I have no ideas how to determine what the Font used by the OS frame is. Even if we could determine that, it may not be available to Swing.
So you need to find a font that renders the "\u16e6" character. The following program is a brute force method to find such a Font. It displays all the Fonts available to Swing. So I simply selected on Font at a time until I found a Font that display your symbol.
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.plaf.basic.*;
public class ComboBoxFonts extends JFrame implements ItemListener
{
JTextArea textArea;
JComboBox comboBox;
public ComboBoxFonts()
{
Font font = new Font("Courier New", Font.PLAIN, 16);
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment ();
Font [] fonts = ge.getAllFonts ();
comboBox = new JComboBox( fonts );
comboBox.setFont( font);
comboBox.addItemListener( this );
add( comboBox, BorderLayout.SOUTH );
textArea= new JTextArea("Some text - \u16e6 -", 3, 20);
textArea.setFont( font.deriveFont( 24.0f) );
add( new JScrollPane( textArea ) );
}
public void itemStateChanged(ItemEvent e)
{
Font font = (Font)e.getItem();
textArea.setFont( font.deriveFont( 24.0f ) );
}
public static void main(String[] args)
{
ComboBoxFonts frame = new ComboBoxFonts();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.pack();
frame.setLocationRelativeTo( null );
frame.setVisible( true );
}
}
On my Windows platform the only Font appears to be:
//jta.setFont(frame.getFont());
jta.setFont(new Font("Segoe UI Symbol", Font.PLAIN, 18) );