¼òÒ×JAVA»ñÈ¡ÍøÒ³ÓÐЧÓÊÏäµØÖ·
// ¼òÒ×JAVA»ñÈ¡ÍøÒ³ÓÐЧÓÊÏäµØÖ· ---by 77
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class solo7 {
public static void main(String args[]){
new Win();
}
}
class Win extends Frame implements ActionListener,Runnable{
Button button;
URL url;
TextField text;
TextArea area;
byte b[]=new byte[118];
Thread thread;
Win(){
text=new TextField(20);
area=new TextArea(12,12);
button=new Button("È·¶¨");
button.addActionListener(this);
thread=new Thread(this);
Panel p=new Panel();
p.add(new Label("ÊäÈëÍøÖ·:"));
p.add(text);
p.add(button);
add(area,BorderLayout.CENTER);
add(p,BorderLayout.NORTH);
setBounds(60,60,360,300);
setVisible(true);
validate();
addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
System.exit(0);
}
});
}
public void actionPerformed(ActionEvent e){
if(!(thread.isAlive()))
thread=new Thread(this);
try{
thread.start();
}
catch(Exception ee){
text.setText("ÕýÔÚ¶ÁÈ¡"+url);
}
}
private boolean isNameAdressFormat(String email){
boolean isExist = false;
Pattern p = Pattern.compile("\\w{1,}@\\w{1,}
\56\\w{1,}");
Matcher m = p.matcher(email);
boolean b = m.matches();
if(b) {
isExist=true;
&nbs
Ïà¹ØÎĵµ£º
ÎÊÌâµÄÒýÈëÊÇÒòΪÏÂÎçÔÚȺÀï¿´µ½ÁËÒ»¸öÍøÓѵÄÎÊÌ⣺
¸ø¶¨ÈçÏÂJava ´úÂ룬±àÒëÔËÐкó£¬Êä³ö½á¹ûÊÇ£¨ £©¡£
public class Test {
public static void main(String [ ] args) {
StringBuffer a = new StringBuffer(“A”);
&n ......
1995Ä꣬ÃÀ¹úSun Microsystems¹«Ë¾ÕýʽÏòITÒµ½çÍƳöÁËjavaÓïÑÔ£¬¸ÃÓïÑÔ¾ßÓа²È«¡¢¿çƽ̨¡¢ÃæÏò¶ÔÏó¡¢¼òµ¥¡¢ÊÊÓÃÓÚÍøÂçµÈÏÔÖøÌص㣬µ±Ê±ÒÔwebΪÖ÷ÒªÐÎʽµÄ»¥ÁªÍøÕýÔÚѸÃÍ·¢Õ¹£¬javaÓïÑԵijöÏÖѸËÙÒýÆðËùÓгÌÐòÔ±ºÍÈí¼þ¹«Ë¾µÄ¼«´ó¹Ø×¢£¬³ÌÐòÔ±ÃǷ׷׳¢ÊÔÓÃjavaÓïÑÔ±àдÍøÂçÓ¦ÓóÌÐò£¬²¢ÀûÓÃÍøÂç°Ñ³ÌÐò·¢²¼µ½ÊÀ½ç¸÷µØ½øÐÐÔËÐС ......
¡¡1£® ¼òµ¥¡¢ÃæÏò¶ÔÏóºÍΪÈËËùÊìϤ
¡¡¡¡javaµÄ¼òµ¥Ê×ÏÈÌåÏÖÔÚ¾«¼òµÄϵͳÉÏ£¬Á¦Í¼ÓÃ×îСµÄϵͳʵÏÖ×ã¹»¶àµÄ¹¦ÄÜ£»¶ÔÓ²¼þµÄÒªÇ󲻸ߣ¬ÔÚСÐ͵ļÆËã»úÉϱã¿ÉÒÔÁ¼ºÃµÄÔËÐС£ºÍËùÓеÄÐÂÒ»´úµÄ³ÌÐòÉè¼ÆÓïÑÔÒ»Ñù£¬javaÒ²²ÉÓÃÁËÃæÏò¶ÔÏó¼¼Êõ²¢¸ü¼Ó³¹µ×£¬ËùÓеÄjava³ÌÐòºÍapplet³ÌÐò¾ùÊǶÔÏ󣬷â×°ÐÔʵÏÖÁËÄ£¿é»¯ºÍÐÅÏ¢Òþ²Ø£¬¼Ì³ÐÐÔ ......
½üÆÚµÄÒ»¸öÏîÄ¿ÐèҪʵÏÖÉãÏñͷͼÏñ²É¼¯£¬¾¹ýһϵÁеÄÕÛÌÚÒÔºó£¬ÖÕÓÚʵÏÖÁËÕâ¸ö¹¦ÄÜ£¬ÏÖÕûÀíһϡ£
±¾Éí¾Íjava¼¼ÊõÀ´Ëµ£¬ÒªÊµÏÖÉãÏñÍ·¶þ´Î¿ª·¢£¬²É¼¯ÉãÏñͷͼƬ£¬ÐèҪʹÓõ½JMF£¬JMFÊʺÏʹÓÃÔÚj2se³ÌÐòµ±ÖУ¬ÎÒÐèÒªÔÚweb³ÌÐòÖе÷ÓÃÉãÏñÍ·£¬ºÜÃ÷ÏÔJMFÊǸ㲻¶¨ÁË£¬Ïë¹ýдһ¸öapplet³ÌÐò£¬Ö»ÊÇÄǶ«Î÷ÒªÇó¿Í»§¶Ë±ØÐëÒªÓÐjre»·¾ ......
ÒÆλÔËËã·û
°üÀ¨£º
“>> ÓÒÒÆ”£»“<< ×óÒÆ”£»“>>> ÎÞ·ûºÅÓÒÒÆ”
Àý×Ó£º
-5>>3=-1
1111 1111 1111 1111 1111 1111 1111 1011
1111 1111 1111 1111 1111 1111 1111 1111
Æä½á¹ûÓë Math.floor((double)- ......