資源簡介
Java 鑒別非法電話號碼(基礎篇-實例072).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?CheckIPAddress?extends?Jframe?{
????
????private?JPanel?contentPane;
????private?JTextField?ipField;
????
????/**
?????*?Launch?the?application.
?????*/
????public?static?void?main(String[]?args)?{
????????EventQueue.invokeLater(new?Runnable()?{
????????????public?void?run()?{
????????????????try?{
????????????????????CheckIPAddress?frame?=?new?CheckIPAddress();
????????????????????frame.setVisible(true);
????????????????}?catch?(Exception?e)?{
????????????????????e.printStackTrace();
????????????????}
????????????}
????????});
????}
????
????/**
?????*?Create?the?frame.
?????*/
????public?CheckIPAddress()?{
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????301??2010-07-16?13:34??.classpath
?????文件?????????379??2010-09-07?13:38??.project
?????文件?????????635??2010-07-16?13:34??.settings\org.eclipse.jdt.core.prefs
?????文件?????????749??2013-11-21?08:40??bin\com\lzw\CheckIPAddress$1.class
?????文件?????????708??2013-11-21?08:40??bin\com\lzw\CheckIPAddress$2.class
?????文件????????2886??2013-11-21?08:40??bin\com\lzw\CheckIPAddress.class
?????文件????????3095??2010-07-17?08:34??src\com\lzw\CheckIPAddress.java
- 上一篇:Java 定制信息對話框
- 下一篇:Java 貨幣金額大寫格式
評論
共有 條評論