ºìÁªLinuxÃÅ»§
Linux°ïÖú

Java ÃüÃûÔ¼¶¨ÓÐÄÄЩ

·¢²¼Ê±¼ä:2006-11-10 00:32:37À´Ô´:ºìÁª×÷Õß:Joyful
Java ÃüÃûÔ¼¶¨ÓÐÄÄЩ£¿

´ð£º1£®Ê¹ÓÃÍêÕûÃèÊö·ûÀ´×¼È·µØÃèÊö±äÁ¿¡¢×ֶλòÀà¡£

ÀýÈ磬ʹÓõÄÃû³Æ¿ÉÒÔÊÇ FirstName¡¢GrandTotal »ò Corporate Customer¡£ËäÈ»Ïñ x1¡¢y1 »ò fn ÕâÑùµÄÃû³Æ½Ï¶ÌÈÝÒ×ÊäÈ룬µ«ÊÇËüÃDz¢²»ÌṩÈκÎÐÅÏ¢Ö¸³öËüÃÇËù´ú±íµÄÄÚÈÝ¡£ÕâÑù¶Ô´úÂëµÄÀí½â¡¢Î¬»¤ºÍÔöÇ¿»áÔì³ÉÒ»¶¨À§ÄÑ¡£

2£®Ê¹ÓÃÊÊÓÃÓÚÁìÓòÄÚµÄÊõÓï¡£

Èç¹ûÄúµÄÓû§½«ËûÃǵĿͻ§³ÆΪ¹Ë¿Í£¬Ôò¶ÔÕâ¸öÀàʹÓÃÊõÓïCustomerÀ´´úÌæClient¡£Ðí¶à¿ª·¢ÈËÔ±Ôø¾­·¸ÁËÕâÑùÒ»¸ö´íÎ󣺵±Òµ½ç»òÁìÓòÖÐÒÑ´æÔÚ¸üÌùÇеÄÊõÓïʱ£¬ËûÃÇ»¹Ú¤Ë¼¿àÏ룬׼±¸ÎªÒ»Ð©¸ÅÄî´´½¨Í¨ÓÃÊõÓï¡£

3£®ÇÉÃî½Ú¼óµØʹÓÃËõд¡£

Õâ±íʾÄúÓ¦¸Ãά»¤Ò»·Ý±ê×¼¶Ì¸ñʽ£¨Ëõд£©µÄÁÐ±í£¬Ó¦¸ÃÃ÷ÖǵØÑ¡ÔñËüÃÇ£¬²¢ÔÚʹÓÃʱ±£³ÖÒ»¹áÐÔ¡£ÀýÈ磬Èç¹ûҪʹÓÃ×Ö arithmetic µÄ¶Ì¸ñʽ£¬ Ñ¡Ôñ ar¡¢ari »ò art ÖеÄÒ»¸ö£¬¼Ç¼ÏÂËùÑ¡µÄËõд£¨µ½µ×ÊÇÄĸö²¢²»ÖØÒª£©£¬²¢Ö»Ê¹ÓÃÕâÒ»¸ö¡£

4£®Ê¹ÓôóСд»ìºÏÔöÇ¿Ãû³ÆµÄ¿É¶ÁÐÔ¡£

ͨ³£Ó¦¸ÃʹÓÃСд×Öĸ£¬µ«Êǽ«ÀàÃûºÍ½Ó¿ÚÃû³ÆµÄµÚÒ»¸ö×Öĸд³É´óд£¬½«ËùÓзÇÆðʼµ¥´ÊµÄµÚÒ»¸ö×ÖĸҲд³É´óд¡£

5£®½«±ê×¼Ê××ÖĸËõд´ÊµÄµÚÒ»¸ö×Öĸ´óд¡£

Ãû³Æ»á¾­³£°üº¬±ê×¼Ëõд£¬Èç SQL ±íʾ¡°Standard Query Language¡±¡£ÖîÈç±íʾÊôÐ﵀ sqlDatabase »ò±íʾÀàµÄ sQLDatabase µÈÃû³Æ±ÈsQLDatabase ºÍSQLDatabase ¸ü±ãÓÚÔĶÁ¡£

6£®±ÜÃⳤÐÍÃû³Æ£¨×î´ó 15 ¸ö×Ö·û±È½ÏºÏÊÊ£©¡£

ËäÈ»ÀàÃû AllImplemented IterfacesAndSubclass ¿ÉÄÜÊǸö±È½ÏºÃµÄÀàÃû£¨µ±È»£¬ÔÚ´ËʾÀýÖÐÓÐЩ¿äÕÅ£©£¬µ«ÊÇÕâ¸öÃû³ÆÏÔȻ̫³¤£¬Ó¦¸Ã°ÑËüÖØÃüÃûΪ½Ï¶ÌµÄÃû³Æ²ÅºÃ¡£

7£®±ÜÃâÃû³Æ¹ýÓÚÏàËÆ»ò½öÔÚ´óСд·½ÃæÓÐÇø±ð¡£

²»Ó¦¸ÃͬʱʹÓñäÁ¿Ãû myObject ºÍ myObjects£¬Ò²²»Ó¦¸ÃͬʱʹÓà myOraDatabase ºÍ anORADatabase¡£

ÎÊ£ºÎÒÏëʹÓÃTab¼üÔÚÊäÈë×ֶμäÒƶ¯£¬ÎÒ¸ÃÔõô°ì£¿

´ð£ºµ±Óû§±ØÐë¼üÈëÐí¶àÎı¾Ê±£¬ÕâÒ»¹¦ÄÜÌرðÓÐÓá£ÏÂÃæµÄ³ÌÐò½«»á¸æËßÄãÈçºÎÈÃÓû§ÔÚÊäÈë×ֶμäÇл»ÊäÈë½¹µã£º

public boolean keyDown(Event evt,int key)
{
if ((char)key=='\t')
{
Component current_field=(Component)evt.target;
if (current_filed!=last_field)
current_field.nextFocus();
else
first_field.requestFocus();
return true;
}
}

×¢£ºµ±×îºó×é¼þlast_field»ñµÃ½¹µãʱ°´Tab¼ü£¬»á½«½¹µãÒƻص½µÚÒ»¸ö×é¼þfirst_fieldÉÏ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ