¹ØÓÚJavaÖÐBorderLayout²¼¾ÖµÄÒ»¸ö¾À½áÎÊÌ⣬Çó½Ì
Õâ¸öÎÊÌâÔÚÓÚ ÔÚFrameÖÐÌí¼Ó×é¼þʱ£¬Ã¿¸ö×é¼þÏÈÉ趨ÁËλÖ㬵«ÊÇÌí¼Óµ½FrameÖкóʼÖÕ»á³öÏÖÎÊÌâ¡£
ÀýÈ磺
class MyGame extends Frame
{
MyGame()
{
Label c[] = new Label[8];
for(i = 0; i<8; i++)
{
c[i] = new Label(“µÄ");
c[i].setLocation(10,i*10+10);
this.add(c[i]);
}
this.setBounds(200,200,400,400);
this.setResizable(false);
this.setVisible(true);
}
public static void main(String args[])
{
new MyGame();
}
}
ÕâÀﰴ˵Ӧ¸øÊÇ»áÌí¼Ó°Ë¸ö “µÄ” ×Öµ½´°¿ÚÖÐ µ«ÊdzöÀ´µÄÈ´Ö»ÓÐÒ»¸ö ¶øÇÒλÖÃÒ²²»¶Ô
Ó¦¸ÃÈçºÎ½â¾öÄØ? Çó½Ì°¡
Ïà¹ØÎĵµ£º
ÕûÌåϵͳ²ÉÓÃJavaÖÐSpring ,Struts, Hibernate×é³É¡£
ÔÚActionÖУº
public ActionForward orgview(ActionMapping mapping, ActionForm form,HttpServletRequest request,HttpServletResponse response) {
// TODO Auto-generated method stub
ActionForward forward = new ActionForward("strpath");
Http ......
±¾ÎÄÀ´×ÔºÍÄãÔÚÒ»ÆðµÄ²©¿Í£¬ÔÎıêÌ⣺¡¶JVMµ÷ÓÅ×ܽá(¶þ)-һЩ¸ÅÄî¡·¡£±¾ÎÄ×ܽáÁËJVM¸ÅÄîÖеÄJava¶ÔÏóµÄ´óС£¬ÒÔ¼°ÈýÖÖÒýÓÃÀàÐ͵͍ÒåÓëÇø·Ö¡£ »ù±¾Êý¾ÝµÄÀàÐ͵ĴóСÊǹ̶¨µÄ£¬ÕâÀï¾Í²»¶à˵ÁË¡£¶ÔÓÚ·Ç»ù±¾ÀàÐ͵ÄJava¶ÔÏ󣬯ä´óС¾ÍÖµµÃÉÌȶ¡£ ÔÚJavaÖУ¬Ò»¸ö¿ÕObject¶ÔÏóµÄ´óСÊÇ8byte£¬Õâ¸ö´óСֻÊDZ£´æ¶ÑÖÐÒ»¸öûÓÐÈÎ ......
ÔÎÄÁ´½Ó£ºhttp://student.csdn.net/space.php?uid=22846&do=thread&id=205&page=1
1¡¢Óï·¨
£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
2¡¢ÃüÁî
£º±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡ ......
±¾ÆªÄÚÈÝϵͳJAVA»ù´¡ÖªÊ¶½éÉÜ£¬ÊÊÓÃÓÚ³õѧÕߺ͸´Ï°µÄÅóÓÑÔĶÁ¡£×÷Ϊ±¾ÈË£¬Ë価Á¿²éÔĸ÷ÖÖÊé¼®£¬µ«ÊÇÈÔÄѱÜÃâ¸÷ÖÖ´íÎóºÍ²»µ±£¬»¹Çë¿´¹ý²¢·¢ÏÖÆäÖдíÎóµÄÅóÓÑÖ¸Õý¡£
Ò».¼ò½é
1.Green TeamС×éÓëJAVA
&nb ......