package bzu;
public class Test {
public static void main(String[] args) {
// TODO Auto-generated method stub
Win www = new Win();
}
}
package bzu;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.GridLayout;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.*;
public class Win extends JFrame {
Container conterPane;
Box baseBox,box1,box2;
JPanel sport = new JPanel();
JTextArea Ta = new JTextArea(5,20);
JScrollPane jsp = new JScrollPane(Ta);
JCheckBox checkBox1,checkBox2,checkBox3;
JRadioButton jrb1,jrb2;
ButtonGroup group;
GridLayout grid;
//OperatorListener opreator;
public Win(){
setLayout(new java.awt.FlowLayout());
init();
编写一个JFrame窗口,要求如下: 1.在窗口的NORTH区放置一个JPanel面板。 2.JPanel面板放置如下组件: (1)JLable标签,标签文本为“兴趣”,右边接着是三个JCheckBo
最新推荐文章于 2021-02-25 07:04:29 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)