for(int i=0;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 阅读(735)
评论(3)