标签:++ val 技术分享 java import end pre inf graphics
import java.awt.*; import java.applet.*; public class GUI3 extends Applet{ public void paint(Graphics g) { int x = 50; int y = 50; int width = 5; int hight = 5; for(int i = 1;i <= 8;i++) { g.drawOval(x, y, width, hight); x-=15/2; y-=15/2; width+=15; hight+=15; } } }
标签:++ val 技术分享 java import end pre inf graphics
原文地址:https://www.cnblogs.com/caiyishuai/p/10100017.html