Java ѧÉú¹ÜÀíϵͳ´úÂë
//³õѧJAVA ¿ª·¢ÁËÒ»¸ö ѧÉú¹ÜÀí³ÌÐò£¬ÄóöÀ´É¹É¹£¬ÒÔ±ã´ó¼Ò²Î¿¼»òÆÀÂÛ Ö¸³ö²»×ãÖ®´¦£¡Ð»Ð» ÓÉÓÚ´Ë´¦²»ÄÜÉÏ´«ÕÕƬ£¬¹Ê·ÅÔÚÎÒµÄÏà
//²áÀïÃæ
//Õâ¸öµÇÈë½çÃæµÄ³ÌÐò£º
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.util.*;
import java.util.jar.JarFile;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
public class Denglujiemian extends Frame implements ActionListener {
JLabel JLUserName = new JLabel("Óû§Ãû£º");
JLabel JLPaw = new JLabel("ÃÜÂë");
JTextField JTUserName = new JTextField();
JPasswordField JPsw= new JPasswordField();
JButton JB1 = new JButton("µÇÈë");
JButton JB2 = new JButton("È¡Ïû");
JLabel JL1 = new JLabel("Éí·Ý");
JComboBox JC = new JComboBox();
public Denglujiemian(){
this.setTitle("ѧÉúÐÅÏ¢¹ÜÀíϵͳ");
this.setLayout(null);
JLUserName.setBounds(100,40,100,20);
this.add(JLUserName);
JTUserName.setBounds(200, 40, 80, 20);
this.add(JTUserName);
JLPaw.setBounds(100, 100, 60, 20);
this.add(JLPaw);
JPsw.setBounds(200, 100, 80, 20);
this.add(JPsw);
JL1.setBounds(100, 150, 60, 20);
this.add(JL1);
JC.setBounds(200, 150, 80, 20);
this.add(JC);
JC.addItem(new String("ѧÉú"));
JC.addItem(new String("ÀÏʦ"));
JB1.setBounds(100, 200, 60, 20);
this.add(JB1);
JB1.addActionListener(this);
JB2.setBounds(200, 200, 60, 20);
this.add(JB2);
JB2.addActionListener(this);
this.setVisible(true);
this.setBounds(400, 250, 400, 250);
&n
Ïà¹ØÎĵµ£º
Java²»ÊÇÍêÃÀµÄ£¬JavaµÄ²»×ã³ýÁËÌåÏÖÔÚÔËÐÐËÙ¶ÈÉÏÒª±È´«Í³µÄC++ÂýÐí¶àÖ®Í⣬JavaÎÞ·¨Ö±½Ó·ÃÎʵ½²Ù×÷ϵͳµ×²ã£¨ÈçϵͳӲ¼þµÈ)£¬Îª´ËJavaʹÓÃnative·½·¨À´À©Õ¹Java³ÌÐòµÄ¹¦ÄÜ¡£
¡¡¡¡¿ÉÒÔ½«native·½·¨±È×÷Java³ÌÐòͬ£Ã³ÌÐòµÄ½Ó¿Ú£¬ÆäʵÏÖ²½Ö裺
¡¡¡¡£±¡¢ÔÚJavaÖÐÉùÃ÷native()·½·¨£¬È»ºó±àÒ룻
¡¡¡¡£²¡¢ÓÃjavah²úÉúÒ»¸ö.hÎ ......
תÌù£ºhttp://java.ccidnet.com/art/3539/20070924/1222147_1.html
JAVA·´Éä»úÖÆ
JAVA·´Éä»úÖÆÊÇÔÚÔËÐÐ״̬ÖУ¬¶ÔÓÚÈÎÒâÒ»¸öÀ࣬¶¼Äܹ»ÖªµÀÕâ¸öÀàµÄËùÓÐÊôÐԺͷ½·¨£»¶ÔÓÚÈÎÒâÒ»¸ö¶ÔÏ󣬶¼Äܹ»µ÷ÓÃËüµÄÈÎÒâÒ»¸ö·½·¨£»ÕâÖÖ¶¯Ì¬»ñÈ¡µÄÐÅÏ¢ÒÔ¼°¶¯Ì¬µ÷ÓöÔÏóµÄ·½·¨µÄ¹¦ÄܳÆΪjavaÓïÑԵķ´Éä»ú ......
java»ñÈ¡µ±Ç°Â·¾¶[ת]
¹Ø¼ü×Ö: java ·¾¶
java »ñÈ¡µ±Ç°Â·¾¶
1 ¡¢ÀûÓà System.getProperty() º¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
System.out.println(System.getProperty("user.dir"));//user.dir Ö¸¶¨Á˵±Ç°µÄ·¾¶
2 ¡¢Ê¹Óà File ÌṩµÄº¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
File directory = new File("");// É趨Ϊµ±Ç°Îļþ ......
ת×ÔInfoq
http://www.infoq.com/cn/news/2007/09/java_web_architecture_turnning
һλIDÊÇjackson1225µÄÍøÓÑÔÚJavaEyeѯÎÊÁËÒ»¸ö´óÐÍWebϵͳµÄ¼Ü¹¹ºÍ²¿ÊðÑ¡ÐÍÎÊÌ⣬ϣÍûÄÜÌá¸ßÏÖÓеĻùÓÚJavaµÄWebÓ¦ÓõķþÎñÄÜÁ¦¡£ÓÉÓڼܹ¹Ä£Ê½ºÍ²¿Êðµ÷ÓÅÒ»Ö±ÊÇJavaÉçÇøµÄÈÈÃÅ»°Ì⣬Õâ¸öÎÊÌâÒý·¢Á˺ܶàÈÈÐÄÍøÓѵÄÌÖÂÛ£¬ÆäÖÐһЩÒâ¼û¶ÔÆä ......
public class Migong {
private int gard[][]={ {1,1,1,1,0,1,1,1},
{0,0,0,1,1,1,1,1},
......