JCheckBox []chu = new JCheckBox[3];
JCheckBox jCheckBox1 = new JCheckBox();
JCheckBox jCheckBox2 = new JCheckBox();
JCheckBox jCheckBox3 = new JCheckBox();
chu[0]=jCheckBox1;
chu[1]=this.jCheckBox2;
chu[2]=this.jCheckBox3;
这三个JCheckBox 我是放进了chu 里面的.所以这个地方是你想错了.但是你帮我解决了这个问题还是很感谢你啊..