Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java´íÌ⼯


Õý¶à±ßÐÎÖÐ×µÄ¶Ô½ÇÏß¾ÍÊÇÖ÷¶Ô½ÇÏߣ¬ÆäÓàµÄ¶Ô½ÇÏß¾ÍÊǸ±¶Ô½ÇÏß
lang ÊÇ language£¨ÓïÑÔ£© µÄ¼òд
ÊÇjavaÖг£Ó÷½·¨×î¶àµÄ°ü
°üº¬³£ÓÃÀà
 
 
 
Runnable½Ó¿Ú£¬Ö»ÓÐÒ»¸ö·½·¨run()
exit(int status)
          ÖÕÖ¹µ±Ç°ÕýÔÚÔËÐÐµÄ Java ÐéÄâ»ú¡£
System.exit(0);
    import javax.swing.JOptionPane;     
    public class LableTest 
    {public static void main(String[] args)
    {String output="";       
    rownnext:
    for (int row=1;row<=5;row++)
    { output+="\n";
    for(int column=1;column<=10;column++)
    {if(column>2*row-1)
       continue rownnext;
    output+="*";
    }
    }
    JOptionPane.showMessageDialog(null,output,"testing continue with a label",
       JOptionPane.INFORMATION_MESSAGE);
     System.exit(0);
    }
    }
 
ÐèÒªµ¼Èë°ü
import java.awt.Graphics£¬¹©paint(Graphics g)·½·¨ÒýÓã¬
import javax.swing.JApplet;
   
public class TestRow extends Japplet
1
ÔõÑùдһ¸öJava³ÌÐò¿ÉÒÔÈÃËüËæ»ú²úÉú4¸öµ¥´Ê
 
 
 
 
 
×÷Õߣºbeijiubeidaodi 
  
2009-2-24 12:45 ¡¡ »Ø¸´´Ë·¢ÑÔ  
 
 
4
»Ø¸´£ºÔõÑùдһ¸öJava³ÌÐò¿ÉÒÔÈÃËüËæ»ú²úÉú4¸öµ¥´Ê
 
ÉÏÃæµÄÁ¬Õâ¸ö¶¼²»ÖªµÀÔõô×öÂ𣬼ÈȻ֪µÀRANDOM()·½·¨¿ÉÒÔËæ»úÊý×Ö£¬¾Í²»ÖªµÀ°Ñµ¥´ÊÊÂÏÈ´æµ½Êý×éÀïÃ棬Êý×é²»ÊÇÓÃϱêÀ´±éÀúµÄÂ𣬸ù¾Ýϱ겻¾Í¿ÉÒÔËæ»úµ¥´ÊÂ𣡣¡£¡º¹¡£¡£¡£¡£×î»ù´¡µÄ¶«Î÷ÁË
ËØÊýÖ»ÐèÒª¼ÇסÄܱ»1ºÍ×ÔÉíÒÔÍâµÄÕûÊýÕû³ý¾ÍÐÐÁË£¬Àý1ºÍ×ÔÉíÒÔÍâµÄÕûµÄ±íʾ·½·¨for (i=2;i<m;i++)
APIÏëÑо¿£¬¾Í´Ólang,awt,io,netÕâËĸö°ü¿ªÊ¼£»Ïë²éÔÄ£¬¾Í¸ù¾ÝÀàÃûºÍËüµÄλÖÃÕÒ£¬ÁíÍ⻹ҪעÒâһЩ¶«Î÷¿


Ïà¹ØÎĵµ£º

JavaÉè¼Æģʽ֮:IteratorÁ´±íģʽ

ÏÈÀ´Á˽âÒ»ÏÂÁ´±íģʽµÄÔ­Àí£º
Ê×ÏÈдһ¸öJavaBean£¬ÄÚÈÝÊÇÒªÌí¼ÓµÄÔªËغ͸ÃÔªËصĽڵ㡣
public class NodeBean implements Serializable
{
   
    private Object data; //ÔªËر¾Éí
    private NodeBean next; //ÏÂÒ»¸ö½Úµã
   
  &n ......

ÀûÓÃÊý×ÖÇ©Ãû³¬Ô½Java AppletµÄ°²È«ÏÞÖÆ


¡¡¡¡²½ÖèÒ»£º£¨´ò°üclassÎļþ£©
¡¡¡¡ÔÚÃüÁîÐÐÖÐÖ´ÐÐÒÔϵÄÓï¾ä£ºjar -cvf
MyApplet.jar class
¡¡¡¡×¢ÒâÕâÀïµÄËùÓÐ.classÎļþ¾ùÊÇ·ÅÔÚÒ»¸öclassµÄĿ¼Öеġ£±¾²½ÖèÖ´ÐÐÍê±Ïºó£¬½«ÔÚ
c:/adminÖвúÉúÒ»¸öÃûΪMyApplet.jarµÄÎļþ
¡¡²½Öè¶þ£º£¨ÔÚÍøÒ³ÖÐǶÈëApplet£©
¡¡
¡¡Õâ¸öÍøÒ³µÄÃû×Ö½Ð×öFileReaderApplet.html£¬ ......

JAVA ¶¯Ì¬¹¹½¨Ê÷(2)

 ¶¯Ì¬¹¹½¨Ê÷µÄÄ£Ðͺͷ½·¨£º
 
/**
 * ¸ÃÄ£¿éÖ÷ÒªÊǽ«ÎÞ¹æÔò´æ·ÅµÄ¶ÔÏó½øÐÐÒ»¸öÓÐ×éÖ¯µÄÊ÷Ðνڵ㴦Àí
 * @author ÏļҼª<jijin0223@126.com>
 *
 */
public class SystemMenuTreeModel {
 
    public SystemMenuTreeModel(){
    & ......

´«ÖDz¥¿ÍJavaÅàѵ HTML»ù´¡

½ñÌìÊÇдµÚһƪ´«ÖDz¥¿Í½Ì³ÌÈÕÖ¾£¬Ò²ÊÇÎÒ¿´
JavaScript
ÊÓƵµÄµÚÒ»Ìì¡£
ÏÈ˵ԵÓÉ°É¡£´óÈý»¹ÓÐÈý¸öÔ¾ÍÒª½áÊøÁË£¬¿ÉÎÒ»¹Ã»Óиоõµ½×Ô¼ºÄܹ»ÓÐ×ã¹»µÄÄÜÁ¦ÕÒµ½·ÝºÃ¹¤×÷£¬´óѧÆÚ¼äѧµ½µÄ¶¼ÊÇЩƤëºÍÀíÂÛ£¬ÎÒ²»Ïëµ½ÁËÕÒ¹¤×÷µÄʱºò£¬ÃæÊÔ¹ÙÎÊÎÒ»á
XXX
Âð£¿ÎÒ˵²»»á¡£Òò´ËÎÒÏëͨ¹ýÅàѵÔö¼Ó×Ô¼ºµÄ¾ºÕùÁ¦¡£ÎÒ±¨Á˱¾µØµÄÒ»¼Ò
I ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ