for(int i=0;i<Integer.parseInt(temp);i++)
{
JTextField numChoose1 = new JTextField();
numChoose1.setBounds(new Rectangle(140, 25+((i+1)*22+2), 119, 22));
jContentPane.add(numChoose1, null);
}
Graphics g11=jContentPane.getGraphics(); //获取Graphics
jContentPane.paintAll(g11); 重绘
g11.dispose();
posted on 2011-07-28 11:27
sanmao 阅读(777)
评论(3) 编辑 收藏