写了一个界面但是组件显示不出来不知道怎么回事
public chouti(){
JFrame jframe=new JFrame("welcome to use");
jframe.setBounds(200,200,500,500);
jframe.setLayout(null);
JMenuBar bar=new JMenuBar();
jframe.setJMenuBar(bar);
JMenu m1=new JMenu("文件");
JMenu m2=new JMenu("帮助");
bar.add(m1);
bar.add(m2);
JMenuItem i1=new JMenuItem("打开 ctrl+o");
JMenuItem i2=new JMenuItem("保存 ctrl+s");
JMenuItem i3=new JMenuItem("关闭 ctrl+w");
m1.add(i1);
m1.add(i2);
m1.add(i3);
JCheckBoxMenuItem c1=new JCheckBoxMenuItem("工具1");
JRadioButtonMenuItem r1=new JRadioButtonMenuItem("格式1");
m1.add(c1);
m1.add(r1);
JLabel l1=new JLabel("抽题");
l1.setBounds(210,2,50,50);
l1.setFont(new Font("",1,20));
jframe.add(l1);
JLabel l2=new JLabel("所抽题目:");
l2.setBounds(140,120,60,50);
jframe.add(l2);
JLabel l3=new JLabel("正确答案:");
l3.setBounds(140,170,60,50);
jframe.add(l3);
JTextField t1=new JTextField();
t1.setBounds(200,135,120,20);
jframe.add(t1);
JTextField t2=new JTextField();
t2.setBounds(200, 185, 120, 20);
jframe.add(t2);
JButton b1=new JButton("抽题");
b1.setBounds(200,50,80,30);
jframe.add(b1);
JButton b2=new JButton("发布");
b2.setBounds(200,300,80,30);
jframe.add(b2);
jframe.setVisible(true);
}
以上是我的代码,求大神能帮一下