<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ~~~ package gui.a7; import java.awt.*; import javax.swing.*; //單選按鈕和復選按鈕 public class Test extends JFrame{ JPanel mb1,mb2,mb3; JButton an1,an2; JLabel bq1,bq2; JCheckBox fxk1,fxk2,fxk3; JRadioButton dx1,dx2; ButtonGroup dxz;//把單選按鈕放進一個組里 public static void main(String[] args) { Test lx=new Test(); } public Test(){ mb1=new JPanel(); mb2=new JPanel(); mb3=new JPanel(); bq1=new JLabel("特長"); bq2=new JLabel("性別"); an1=new JButton("注冊"); an2=new JButton("取消"); fxk1=new JCheckBox("音樂"); fxk2=new JCheckBox("體育"); fxk3=new JCheckBox("文藝"); dx1=new JRadioButton("男"); dx2=new JRadioButton("女"); dxz=new ButtonGroup(); dxz.add(dx1); dxz.add(dx2); //添加進組,使其只能選其中一個 this.setLayout(new GridLayout(3,1)); mb1.add(bq1); mb1.add(fxk1); mb1.add(fxk2); mb1.add(fxk3); mb2.add(bq2); mb2.add(dx1); mb2.add(dx2); //還是一個一個添加,不是把組添加進來 mb3.add(an1); mb3.add(an2); this.add(mb1); this.add(mb2); this.add(mb3); this.setTitle("用戶注冊"); this.setSize(240,150); this.setLocation(300,280); this.setResizable(false); this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); this.setVisible(true); } } ~~~ ![](https://box.kancloud.cn/6e28056dd7636cd90dfbb8f46c2f2f55_256x163.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看