Mypanel.java.svn-base
资源名称:QQ.rar [点击查看]
上传用户:hongdaled
上传日期:2007-10-03
资源大小:680k
文件大小:0k
源码类别:
ICQ/即时通讯
开发平台:
Java
- package client;
- import java.awt.Graphics;
- import java.awt.Image;
- import java.awt.Panel;
- public class Mypanel extends Panel{
- int x = 0;
- int y = 0;
- Image img = this.getToolkit().createImage("c:\b1.gif");
- public void paint(Graphics g){
- //g.drawOval(x, y, 30, 30);
- g.drawImage(img, x, y, 77, 76, null);
- }
- }