資源簡介
Java 驗證IP地址的有效性(基礎篇-實例071).zip
代碼片段和文件信息
package?com.lzw;
import?java.awt.EventQueue;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?javax.swing.JButton;
import?javax.swing.Jframe;
import?javax.swing.JLabel;
import?javax.swing.JOptionPane;
import?javax.swing.JPanel;
import?javax.swing.JTextField;
import?javax.swing.border.EmptyBorder;
public?class?CheckPhoneNum?extends?Jframe?{
????
????private?JPanel?contentPane;
????private?JTextField?nameField;
????private?JTextField?phoneNumField;
????private?JTextField?ageField;
????
????/**
?????*?Launch?the?application.
?????*/
????public?static?void?main(String[]?args)?{
????????EventQueue.invokeLater(new?Runnable()?{
????????????public?void?run()?{
????????????????try?{
????????????????????CheckPhoneNum?frame?=?new?CheckPhoneNum();
????????????????????frame.setVisible(true);
????????????????}?catch?(Exception?e)?{
????????????????????e.printStackTrace();
????????????????}
????????????}
????????});
????}
????
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????301??2010-07-16?13:34??.classpath
?????文件?????????379??2010-09-07?13:37??.project
?????文件?????????635??2010-07-16?13:34??.settings\org.eclipse.jdt.core.prefs
?????文件?????????744??2013-11-21?08:40??bin\com\lzw\CheckPhoneNum$1.class
?????文件?????????702??2013-11-21?08:40??bin\com\lzw\CheckPhoneNum$2.class
?????文件????????3078??2013-11-21?08:40??bin\com\lzw\CheckPhoneNum.class
?????文件????????3189??2010-07-17?08:44??src\com\lzw\CheckPhoneNum.java
- 上一篇:Java 判斷網頁請求與FTP請求
- 下一篇:Java 制作階梯布局管理器
評論
共有 條評論