public void paint(Graphics g){
Graphics2D g2 = (Graphics2D)g;
g2.rotate(Math.PI/2, 200, 200); //Math.PI/2, 旋转角度,自己试一下,很容易的
g2.drawString("Hello, world!", 200, 200);
}
Graphics2D g2 = (Graphics2D)g;
g2.rotate(Math.PI/2, 200, 200); //Math.PI/2, 旋转角度,自己试一下,很容易的
g2.drawString("Hello, world!", 200, 200);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货