ºǫ́×Ô¶¯·¢Óʼþ java´úÂë
import java.util.Properties;
import javax.mail.Message;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
public class SendMail {
/**
* @param args
*/
public static void main(String[] args) {
Properties props = System.getProperties();
// ÉèÖÃsmtp·þÎñÆ÷
props.setProperty("mail.smtp.host", "smtp.126.com");
// ÏÖÔڵĴ󲿷Ösmpt¶¼ÐèÒªÑéÖ¤ÁË
props.put("mail.smtp.auth", "true");
Session s = Session.getInstance(props);
// ΪÁ˲鿴ÔËÐÐʱµÄÐÅÏ¢
s.setDebug(true);
// ÓÉÓʼþ»á»°Ð½¨Ò»¸öÏûÏ¢¶ÔÏó
MimeMessage message = new MimeMessage(s);
try {
// ·¢¼þÈË
InternetAddress from = new InternetAddress("fasongren@126.com");
message.setfrom(from);
// ÊÕ¼þÈË
InternetAddress to = new InternetAddress("jieshouren@163.com");
 
Ïà¹ØÎĵµ£º
ÕâÊÇÒ»¸öJava°æµÄÊÀ½çʱÖÓʾÀý£¬ÒÆÖ²×ÔGerrit´´½¨µÄͬÃûSwingÓ¦Óã¨http://www.jug-muenster.de/swing-worldclock-427
£©£¬ÐèÒªÔËÐÐÔÚJRE1.5»òÒÔÉÏ»·¾³µ±ÖС£
ÒÆÖ²´ËʾÀýÖ÷ÒªÊÇÒòΪǰһÕóÒÆÖ²¹ýGerritµÄswingÔ×ÓÖÓʾÀý£¬ËùνºÃʳÉË«£¬Õâ¸öÊÀ½çʱÖÓµÄʾÀý×ÔÈ»²»ÄܷŹý£¨»°ËµGerritΪʲôÄÇôϲ»¶×öʱÖÓ£¿…&hellip ......
Òì³£
Òì³£´æÔÚµÄÄ¿µÄ
¿´Ò»ÏÂCÓïÑԵijö´í´¦Àí·½Ê½
int f() {
f1();
f2():
f3();
}//Èç¹ûÔÚÿ¸öº¯Êýºó¶¼Ôö¼Ó³ö´íµÄÅжÏ(Èç¹ûÊÇÕý³£Âß¼¿ÉÒÔ×ß²»Í¬µÄ·ÖÖ§)²¢ÊÍ·Å×ÊÔ´£¬ÄÇÕâ¸öº¯ÊýÄÚ»áÓÐÌ«¶àÓëÖ÷¸ÉÎÞ¹ØÓ°ÏìÇåÎúÔĶÁµÄ´úÂë´æÔÚ£¬¶øÇÒ¹ý¶àreturnÓÐʱ»áʹµÃ×ÊÔ´µ ......
ÈÕÆÚºÍʱ¼äµÄ´¦Àí²»½öÔÚÃæÊÔÌâÖлῼµ½£¬ÔÚʵ¼ÊÏîÄ¿¿ª·¢ÖÐÒ²ÊÇÎÒÃǾ³£ÐèÒª´¦ÀíµÄÎÊÌâ£¬ËÆºõûÓÐÄĸöÏîÄ¿¿ÉÒԱܿªËüÃÇ£¬ÎÒÃdz£³£ÔÚ´¦ÀíÓû§µÄ³öÉúÄêÔÂÈÕ¡¢×¢²áÈÕÆÚ£¬¶©µ¥µÄ´´½¨Ê±¼äµÈÊôÐÔʱÓõ½£¬Óɴ˿ɼûÆäÖØÒªÐÔ¡£
java.util.DateÀà
Ìá
µ½ÈÕÆÚºÍʱ¼ä£¬ÎÒÏë´ó¼Ò×îÏÈÏëµ½Ó¦¸ÃÊÇjava.util.DateÀà°É¡£DateÀà¿ÉÒÔ¾«È·µ½ ......
java½Ó¿ÚʵÀý
2009-03-10 09:00:18.0 À´Ô´:ÖйúJAVA¼¼ÊõÍø
¹Ø¼ü´Ê£º java ½Ó¿Ú Âë
½üÈÕÔÚ±à³ÌÖÐÓõ½½Ó¿Ú֪ʶ,ÓÉÓڿα¾ÖжԽӿÚÃèÊö½ÏÉÙ,ËùÒÔÏë´ÓÍøÉϲéÕÒ×ÊÁÏ,µ«ÍøÉϵÄ×ÊÁÏ´ó¶àÒ²Ö»ÊÇÈß³¤µÄÃèÊö,ËùÒÔÔ ......
¹Ø¼ü×Ö: json java
JSON-libÕâ¸öJavaÀà°üÓÃÓÚ°Ñbean,mapºÍXMLת»»³ÉJSON²¢Äܹ»°ÑJSONת»Ø³ÉbeanºÍDynaBean¡£
ÏÂÔØµØÖ·:http://json-lib.sourceforge.net/
»¹ÒªÐèÒªµÄµÚ3·½°ü:
org.apache.commons(3.2ÒÔÉϰ汾)
org.apache.oro
net.sf.ezmorph(ezmorph-1.0.4.jar)
nu.xom
1¡¢List
Java´úÂë
boolean[] bool ......