void display(){
fr = new JFrame("Resource App");
JLabel name = new JLabel("one=नमस्ते");
JTextField txtname = new JTextField(10);
fr.setLayout(new FlowLayout());
fr.setSize(500,500);
fr.setVisible(true);
fr.add(name);
fr.add(txtname);
}
此代码显示错误:
unmappable character for encoding cp1252