| ÍøÕ¾Ê×Ò³ | Òµ½çÐÂÎÅ | С×é | Íþ¿Í | È˲Š| ÏÂÔØƵµÀ | ²©¿Í | ´úÂëÌù | ÔÚÏß±à³Ì | ±à³ÌÂÛ̳
»¶Ó­¼ÓÈëÎÒÃÇ£¬Ò»Í¬Çд輼Êõ
Óû§Ãû£º   
 
ÃÜ¡¡Â룺  
¹²ÓÐ 639 È˹Ø×¢¹ý±¾Ìû
±êÌ⣺ΪʲôͼƬ²»ÏÔʾ£¿
Ö»¿´Â¥Ö÷ ¼ÓÈëÊÕ²Ø
ÉñÁú»ð¾æ
Rank: 1
À´¡¡×Ô£º¹ãÎ÷ÁøÖÝ
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º13
ר¼Ò·Ö£º5
×¢¡¡²á£º2014-11-11
½áÌûÂÊ£º100%
ÊÕ²Ø
ÒѽáÌù¡Ì  ÎÊÌâµãÊý£º20 »Ø¸´´ÎÊý£º4 
ΪʲôͼƬ²»ÏÔʾ£¿
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Image;


@SuppressWarnings("serial")
public class BackgroundImage extends Applet{
    Image picture;
    boolean ImageLoaded=false;
    @SuppressWarnings("deprecation")
    public void init(){
        picture=getImage(getCodeBase(),"F:\\ͼƬ\\21.jpg");
        Image offscreeImage=createImage(size().width, size().height);
        Graphics offscreenGC=offscreeImage.getGraphics();
        offscreenGC.drawImage(picture, 0, 0, this);
        ImageLoaded=true;
    }
    public void paint(Graphics g){
        if(ImageLoaded){
            showStatus("Done");
        }else
          showStatus("Loading image");
    }
    public boolean imageUpdate(Image img,int infoflages,int x,int y,int w,int h){
        if(infoflages==ALLBITS){
            ImageLoaded=true;
            repaint();
            return false;
        }else
            return true;
    }
}
ËÑË÷¸ü¶àÏà¹ØÖ÷ÌâµÄÌû×Ó: public¡¡import¡¡false¡¡Í¼Æ¬¡¡
2014-11-27 19:29
loveÔƲÊ
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
À´¡¡×Ô£ºÇà²Ø¸ßÔ­
µÈ¡¡¼¶£º¹ó±ö
Íþ¡¡Íû£º53
Ìû¡¡×Ó£º3663
ר¼Ò·Ö£º11416
×¢¡¡²á£º2012-11-17
ÊÕ²Ø
µÃ·Ö:5 
ÕâÊÇÄã×Ô¼ºÐ´µÄ´úÂ룿

˼¿¼´ÍÓèÐÂÉú£¬Ê±¼äÔÚÓÚ¶¨Òå
2014-11-28 01:37
liucao
Rank: 10Rank: 10Rank: 10
À´¡¡×Ô£º¶ñÁéÖ®³Ç
µÈ¡¡¼¶£º¹ó±ö
Íþ¡¡Íû£º13
Ìû¡¡×Ó£º538
ר¼Ò·Ö£º1575
×¢¡¡²á£º2014-8-6
ÊÕ²Ø
µÃ·Ö:5 
Õ⹤³ÌÒ²²»È«£¬ÄãÕâÊÇÒªÔÚС³ÌÐòÀï¸øÆÌÉϱ³¾°Í¼Æ¬°É£¬ÄãÕâÖÖд·¨µÄ»°ÊÔÊÔ°ÑͼƬֱ½Ó·ÅÔÚ¹¤³ÌÎļþÀïÃæÈ»ºó°Ñ·¾¶¶¼È¥µôÖ»ÁôͼƬÃûÊÔÊÔ¿´

one car come one car go ,two car peng peng people die.
2014-11-28 08:47
liucao
Rank: 10Rank: 10Rank: 10
À´¡¡×Ô£º¶ñÁéÖ®³Ç
µÈ¡¡¼¶£º¹ó±ö
Íþ¡¡Íû£º13
Ìû¡¡×Ó£º538
ר¼Ò·Ö£º1575
×¢¡¡²á£º2014-8-6
ÊÕ²Ø
µÃ·Ö:5 
»òÕßÄãÊÔÊÔÕâÑù
³ÌÐò´úÂ룺
import java.awt.*;
import java.awt.geom.*;

import javax.swing.*;
public class BackgroundImage extends JFrame
{
/**
     * 
     */
    private static final long serialVersionUID = 1207275504054549999L;
    private Image img;

    public BackgroundImage(){

               img=getToolkit().getImage(getClass().getResource("E:/images/s.jpg"));
    }

   public void paint(Graphics g)
{
g.setClip(new Rectangle2D.Float(0,0,500,350));
g.drawImage(img,0,0,this); }
@SuppressWarnings("unused")
public static void main(String[] args)
{
BackgroundImage yh=new BackgroundImage();
}
}

one car come one car go ,two car peng peng people die.
2014-11-28 08:58
Java258
Rank: 7Rank: 7Rank: 7
µÈ¡¡¼¶£ººÚÏÀ
Íþ¡¡Íû£º6
Ìû¡¡×Ó£º122
ר¼Ò·Ö£º561
×¢¡¡²á£º2014-10-15
ÊÕ²Ø
µÃ·Ö:5 
Ò²ÐíÊÇÄã·¾¶ÓÃÖÐÎĵÄÔ­Òò

ò¯³ÏÇë½Ì£¬ÐéÐÄѧϰ¡­¡­
2014-11-28 16:58
¿ìËٻظ´£ºÎªÊ²Ã´Í¼Æ¬²»ÏÔʾ£¿
Êý¾Ý¼ÓÔØÖÐ...
 
¡¡¡¡¡¡



¹ØÓÚÎÒÃÇ | ¹ã¸æºÏ×÷ | ±à³ÌÖйú | Çå³ýCookies | TOP | ÊÖ»ú°æ

±à³ÌÖйú °æȨËùÓУ¬²¢±£ÁôËùÓÐȨÀû¡£
Powered by Discuz, Processed in 0.043986 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved