hi my name is adnan
u can use arbic font instead of urdu font this can help u and java support arbic font i wana send u some piece of code which can help u it help me much i hope it will help u.use urdu unicode instead arabic it can help u ok by with best
wishes
Muhammad Adnan Siraj Doger
import java.lang.*;
import java.util.Locale;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.Locale;
public class test {
public static void main (String [] args)
{
String test = "\u0631\u0627\u0626\u062F";
JFrame frame = new JFrame("Test");
JPanel panel = new JPanel();
JTextField test1 = new JTextField(test);
test1.setFont(new Font("Lucida", Font.PLAIN, 12));
panel.setLayout(new BorderLayout());
panel.add(test1,BorderLayout.CENTER);
frame.getContentPane().add(panel, BorderLayout.CENTER);
frame.setSize(100,100);
frame.setVisible(true);
}
}