import java.awt.*;
import java.awt.event.*;
public class QueryFrame extends Frame implements ActionListener
{
private TextField text_char,text_uni;//显示字符和编码文本行
private Button button_char,button_uni;//查询编码和字符按钮
public QueryFrame()//构造方法
{
super("字符编码查询器");
setBounds(300,240,400,120);
setBackground(Color.lightGray);
setLayout(new GridLayout(2,3));
add(new Label("字符",Label.RIGHT));//右对齐
text_char=new TextField("汉",20);
add(text_char);
this.button_char=new
Unicode字符编码查询器Java
最新推荐文章于 2023-10-31 11:34:25 发布