Java×ÀÃ濪·¢±Ê¼Ç
ÐèÒª×öÒ»¸ö×ÀÃæµÄС¶«Î÷£¬ÓÉÓÚÖÁ½ñΪֹֻ»áдJava£¬ËùÒÔÖ»ÓÐÓÃswingÀ´×öÁË¡£ÅóÓÑ˵Delphi×öÆðÀ´ºÜ¿ì£¬µ«ÎÒûʱ¼äȥѧÁË£¬Ò»¶¨Òª¿ªÊ¼ºáÏò·¢Õ¹ÁË¡£
ÔÀ´¶ÌÔݵÄ×ö¹ýNetBeansµÄrcp¿ª·¢£¬µ«ËüµÄ´úÂë×éÖ¯Óеã¹ýÓÚ¸´ÔÓ£¬²»¹ýÎÒÒª×öµÄ²»ÊǺܴóµÄ¶«Î÷£¬µ«»¹ÊÇÏëÏÈÕÒEclipseµÄ²å¼þÀ´¿´¿´£¬²»ÐеĻ°ÔÙÓÃNetBeansÀ´×ö¡£javaeyeÉÏ¿´µ½Ò»¸ö½ÐjiglooµÄ±È½Ï¶àµÄÍƼö£¬ÊշѵĽ϶ࡣ»¹ÓиöÎÊÌâÊÇjava×ÀÃæ³ÌÐòµÄ·¢²¼ºÍÔËÐУ¬ÔÀ´µÄÄǸöÏîĿûÄÜ×öµ½×îºóÊǸöÒź¶¡£
Ïà¹ØÎĵµ£º
=====suppose such a method:
public static void openFile(String fileName, PrintWriter stream) throws FileNotFoundException
{
stream = new PrintWriter(fileName);
}
=====then we want to use it this way:
PrintWriter toFile = null;
try
{
openFile("data.txt", t ......
Java enum ö¾ÙÀàÐÍ
ö¾ÙÀàÐÍÊÇÒ»¸ö³£Á¿¼¯ºÏµÄÊý¾ÝÀàÐÍ¡£
ÒòΪ¶¼Êdz£Á¿£¬ËùÒÔÒ»¸öö¾ÙÀàÐÍÖеÄ×Ö¶ÎÃû¶¼Òª´óд¡£
ÔÚJAVAÖУ¬Ã¶¾ÙÀàÐ͵Ķ¨ÒåÊÇͨ¹ý“enum“¹Ø¼ü×Ö½øÐеġ£ÀýÈçÄãÒª¶¨Òå
Ò»¸ö±íʾһ¸öÐÇÆÚµÄÿһÌìµÄö¾ÙÀàÐÍ£º
public enum Day {
SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY ......
Ê×ÏÈ£¬½¨3¸ö½Ó¿Ú
FTPOperate.java:
public interface FTPOperate
{
public void execute(FTPBean entity);
}
FTPProxy.java:
public interface FTPProxy
{
public void connection();
public abstract void upload();
public abstract void download();
public void setEntity(FTPBe ......
1. ʼÖÕʹÓà MVC ¿ò¼Ü¡£
½«ÒµÎñÂß¼£¨Java Bean ºÍ EJB ×é¼þ£©´Ó¿ØÖÆÆ÷Âß¼£¨Servlet/Struts ²Ù×÷£©ºÍ±íʾÂß¼£¨JSP¡¢XML/XSLT£©ÖÐÇåÎúµØ·ÖÀë³öÀ´¡£Á¼ºÃµÄ·Ö²ã¿ÉÒÔ´øÀ´Ðí¶àºÃ´¦¡£
×¢:¶ÔÓÚһЩСÐ͵ĻòÕßÒµÎñÏà¶Ô¼òµ¥µÄϵͳ¶øÑÔ,Óÿò¼Ü¿ª·¢²¢²»ÄÜ´øÀ´ÈκÎЧÒæ,²¢ÇÒÎÒÉîÐÅÔÚһЩÏîÄ¿¿ª·¢ÖÐ,ÌرðÊǽö½öÓÉij¸öÈ˶ÀÁ ......
ÔÚFirefox 3.6ÖУ¬µ±½¹µãÔÚflash»òÕßjava applet¶ÔÏóÉÏʱ£¬»á³öÏÖÒ»¸ö»·ÈƶÔÏóµÄÐéÏß¿ò£¬µ±½«flashÓëjava applet¶ÔÏóµÄ´óСÉè³É100%ʱ£¬µã»÷¶ÔÏóºóÒ³Ãæ»á³öÏÖ¹ö¶¯Ìõ£¬Ó°ÏìÏÔʾЧ¹û£¬½â¾öµÄ·½·¨ÊÇʹÓÃÈçϵÄcss¶¨Ò壺
:focus {
outline: 0;
}
ÕâÑùÔÚ¸÷¸ö²»Í¬µÄä¯ÀÀÆ÷ÖÐÏÔʾµÄЧ¹û¶¼Äܱ£³ÖÒ»Ö¡£ ......