javaÃüÃû規·¶
來Ô´£ºhttp://www.blogjava.net/oxidy/articles/213105.html
1.°üÃüÃû:È«²¿×ÖĸСд:cn.package.bean
2.ÀàÃüÃû:µ¥´ÊµÄÊ××Öĸ´óд:SimpleBean
3.ÊôÐÔÃû³Æ:µÚÒ»¸öµ¥´ÊµÄÊ××ÖĸСд,Ö®ºóÿ¸öµ¥´ÊµÄÊ××Öĸ´óдstudentName
4.·½·¨ÃüÃû:ÓëÊôÐÔÃüÃûÏàͬ:public
void sayHello()
5.³£Á¿ÃüÃû:È«²¿µ¥´Ê´óд:final String DBDRIVER="zhangde"
°üµÄÃüÃû¡¡
Java°üµÄÃû×Ö¶¼ÊÇÓÉСдµ¥´Ê×é³É¡£µ«ÊÇÓÉÓÚJavaÃæÏò¶ÔÏó±à³ÌµÄÌØÐÔ£¬Ã¿Ò»ÃûJava³ÌÐòÔ±¶¼¿ÉÒÔ±àдÊôÓÚ×Ô¼ºµÄJava°ü£¬ÎªÁ˱£ÕÏÿ¸ö
Java°üÃüÃûµÄΨһÐÔ£¬ÔÚ×îеÄJava±à³Ì¹æ·¶ÖУ¬ÒªÇó³ÌÐòÔ±ÔÚ×Ô¼º¶¨ÒåµÄ°üµÄÃû³Æ֮ǰ¼ÓÉÏΨһµÄǰ׺¡£ÓÉÓÚ»¥ÁªÍøÉϵÄÓòÃû³ÆÊDz»»áÖظ´µÄ£¬ËùÒÔ³ÌÐòÔ±Ò»°ã²ÉÓÃ×Ô¼ºÔÚ»¥ÁªÍøÉϵÄÓòÃû³Æ×÷Ϊ×Ô¼º³ÌÐò°üµÄΨһǰ׺¡£
ÀýÈ磺
net.frontfree.javagroup
ÀàµÄÃüÃû
ÀàµÄÃû×Ö±ØÐëÓÉ´óд×Öĸ¿ªÍ·¶øµ¥´ÊÖеÄÆäËû×Öĸ¾ùΪСд£»Èç¹ûÀàÃû³ÆÓɶà¸öµ¥´Ê×é³É£¬Ôòÿ¸öµ¥´ÊµÄÊ××Öĸ¾ùӦΪ´óдÀýÈçTestPage£»Èç¹ûÀàÃû³ÆÖаü
º¬µ¥´ÊËõд£¬ÔòÕâ¸öËùд´ÊµÄÿ¸ö×Öĸ¾ùÓ¦´óд£¬È磺XMLExample,»¹ÓÐÒ»µãÃüÃû¼¼ÇɾÍÊÇÓÉÓÚÀàÊÇÉè¼ÆÓÃÀ´´ú±í¶ÔÏóµÄ£¬ËùÒÔÔÚÃüÃûÀàʱӦ¾¡Á¿Ñ¡ÔñÃû
´Ê¡£
ÀýÈ磺
Circle
·½·¨µÄÃüÃû
·½·¨µÄÃû×ֵĵÚÒ»¸öµ¥´ÊÓ¦ÒÔСд×Öĸ×÷Ϊ¿ªÍ·£¬ºóÃæµÄµ¥´ÊÔòÓôóд×Öĸ¿ªÍ·¡£
ÀýÈ磺
sendMessge
³£Á¿µÄÃüÃû
³£Á¿µÄÃû×ÖÓ¦¸Ã¶¼Ê¹Óôóд×Öĸ£¬²¢ÇÒÖ¸³ö¸Ã³£Á¿ÍêÕûº¬Òå¡£Èç¹ûÒ»¸ö³£Á¿Ãû³ÆÓɶà¸öµ¥´Ê×é³É£¬ÔòÓ¦¸ÃÓÃÏ»®ÏßÀ´·Ö¸îÕâЩµ¥´Ê¡£
ÀýÈ磺
MAX_VALUE
²ÎÊýµÄÃüÃû
²ÎÊýµÄÃüÃû¹æ·¶ºÍ·½·¨µÄÃüÃû¹æ·¶Ïàͬ£¬¶øÇÒΪÁ˱ÜÃâÔĶÁ³ÌÐòʱÔì³ÉÃÔ»ó£¬ÇëÔÚ¾¡Á¿±£Ö¤²ÎÊýÃû³ÆΪһ¸öµ¥´ÊµÄÇé¿öÏÂʹ²ÎÊýµÄÃüÃû¾¡¿ÉÄÜÃ÷È·¡£
Javadoc×¢ÊÍ
Java³ýÁË¿ÉÒÔ²ÉÓÃÎÒÃdz£¼ûµÄ×¢ÊÍ·½Ê½Ö®Í⣬JavaÓïÑԹ淶»¹¶¨ÒåÁËÒ»ÖÖÌØÊâµÄ×¢ÊÍ£¬Ò²¾ÍÊÇÎÒÃÇËù˵µÄJavadoc×¢ÊÍ£¬ËüÊÇÓÃÀ´¼Ç¼ÎÒÃÇ´úÂëÖ
Ïà¹ØÎĵµ£º
·¢²¼JavaÓ¦ÓóÌÐòʱÄã»á¸Ðµ½À§ÄÑ£¿ºÃÔÚJavaÌṩÁËһϵÁдò°üºÍ·¢²¼¹¤¾ß£¬¿ÉÒÔÏÔÖøµÄ¼ò»¯·¢²¼¹ý³Ì¸ÃÎÄÕÂÌṩÁË´ò°üJava
codeµÄ¼¸ÖÖ·½·¨£¬ÎÒÃǽ«»á̽ÌÖJava manifest
Îļþ£¬¸ø³öÓÃÓÚ¹ÜÀíJARÎļþËùÒÀÀµÎļþ¡¢¹À¼Æ¿çƽ̨·¢²¼ËùÐèµÄCLasspathµÄºÏÊÊ·½·¨.ÎÒÒ²»á½âÊÍÈçºÎʹÓÃmanifest°ü°æ±¾ÌØÐÔÀ´È·ÈÏ°üµÄ
¼æÈÝÐÔ...
ʲ ......
½Ó¿ÚÀࣺ
package JFFileEncrypt;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import javax.crypto.KeyGenerator;
import javax.crypto.spec.SecretKeySpec;
/**
* ¹¦ÄÜ£º¶ÔÎļþ¼ÓÃܽâÃܲÙ×÷
* @author jiangfeng
*
&nbs ......
-
JavaÊÇÓÉSun Microsystems¹«Ë¾ÓÚ1995Äê5ÔÂÍƳöµÄJava³ÌÐòÉè¼ÆÓïÑÔ£¨ÒÔϼò³ÆJavaÓïÑÔ£©ºÍJavaƽ̨µÄ×ܳơ£ÓÃJavaʵÏÖµÄHotJavaä¯ÀÀÆ÷£¨Ö§³ÖJava applet£©ÏÔʾÁËJavaµÄ÷ÈÁ¦£º¿çƽ̨¡¢¶¯Ì¬µÄWeb¡¢Internet¼ÆËã¡£´Ó´Ë£¬Java±»¹ã·º½ÓÊܲ¢Íƶ¯ÁËWebµÄѸËÙ·¢Õ¹£¬³£ÓõÄä¯ÀÀÆ÷ÏÖÔÚ¾ùÖ§³ÖJava applet¡£ÁíÒ»·½Ã棬Java¼¼ÊõÒ ......
ÔÚjavaÓïÑÔÖУ¬I/OµÄ·½Ê½ÊÇÁ÷µÄ·½Ê½¡£Á÷£¨stream£©ÕâÊǸöѧϰjavaÊäÈëÊä³öµÄ×î»ù±¾µÄ¸ÅÄî¡£Á÷ÊÇ×Ö½Ú´ÓÔ´µ½Ä¿µÄµÄÓÐÐòÐòÁС£Ò»·½ÃæÊÇ×Ö½Ú£¬Ò»·½ÃæÊÇÓÐÐòµÄ¡£Á÷ÃèÊöµÄÊÇÒ»¸ö¹ý³Ì£¬Ë³ÐòÑϸñ¡£Ò»¸öÐèÒª¼üÅÌÊäÈëµÄ³ÌÐò¿ÉÒÔÓÃÁ÷À´×öµ½ÕâÒ»µã¡£Á½ÖÖ»ù±¾µÄÁ÷ÊÇ£ºÊäÈëÁ÷ºÍÊä³öÁ÷¡£Äã¿ÉÒÔ´ÓÊäÈëÁ÷¶Á£¬µ«Äã²»ÄܶÔËüд¡£Òª´ÓÊäÈëÁ ......
function createTreeMenu(){//´´½¨Ò»¸öÊ÷µÄÃæ°å
var treeMenu = new Ext.tree.TreePanel({
lines : true,
minSize : 150,
border : false,
root : new Ext.tree.AsyncTreeNode({text : 'root'}),
loader : new Ext.tree.TreeLoader({dataUr ......