| ÍøÕ¾Ê×Ò³ | Òµ½çÐÂÎÅ | С×é | Íþ¿Í | È˲Š| ÏÂÔØƵµÀ | ²©¿Í | ´úÂëÌù | ÔÚÏß±à³Ì | ±à³ÌÂÛ̳
»¶Ó­¼ÓÈëÎÒÃÇ£¬Ò»Í¬Çд輼Êõ
Óû§Ãû£º   
 
ÃÜ¡¡Â룺  
¹²ÓÐ 1114 È˹Ø×¢¹ý±¾Ìû
±êÌ⣺ΪʲôͬʱÔÚˮƽ´¹Ö±·½ÏòÍ϶¯Ê±»áÖØ»­Á½´Î£¿Java¾¿¾¹ÊÇ°´ÔõôµÄ·½Ê½»­´°Ìå ...
È¡ÏûÖ»¿´Â¥Ö÷ ¼ÓÈëÊÕ²Ø
ruihua
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Íþ¡¡Íû£º1
Ìû¡¡×Ó£º235
ר¼Ò·Ö£º0
×¢¡¡²á£º2006-2-21
ÊÕ²Ø
 ÎÊÌâµãÊý£º0 »Ø¸´´ÎÊý£º1 
ΪʲôͬʱÔÚˮƽ´¹Ö±·½ÏòÍ϶¯Ê±»áÖØ»­Á½´Î£¿Java¾¿¾¹ÊÇ°´ÔõôµÄ·½Ê½»­´°ÌåµÄ?
import java.awt.*;
public class Demo extends Frame
{
static int i=0;
Demo()
{
}
public void paint(Graphics g)
{
g.drawString("Drawing in Frame",30,80);
System.out.println("Test :"+i++);
}
}
class mainApp
{
public static void main(String[] args)
{
Demo fm=new Demo();
fm.setSize(200,200);
fm.setVisible(true);
}
}
ËÑË÷¸ü¶àÏà¹ØÖ÷ÌâµÄÌû×Ó: Í϶¯¡¡Java¡¡´°Ì塡ʱ»á¡¡Demo¡¡
2006-08-23 17:27
ruihua
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Íþ¡¡Íû£º1
Ìû¡¡×Ó£º235
ר¼Ò·Ö£º0
×¢¡¡²á£º2006-2-21
ÊÕ²Ø
µÃ·Ö:0 

Ö´ÐÐÁËSystem.out.println("Test :"+i++);Óï¾äÁ½¾ä


2006-08-24 08:49
¿ìËٻظ´£ºÎªÊ²Ã´Í¬Ê±ÔÚˮƽ´¹Ö±·½ÏòÍ϶¯Ê±»áÖØ»­Á½´Î£¿Java¾¿¾¹ÊÇ°´ÔõôµÄ·½Ê½»­ ...
Êý¾Ý¼ÓÔØÖÐ...
 
¡¡¡¡¡¡



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

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