資源簡介
Java 判斷網頁請求與FTP請求(基礎篇-實例068).zip
代碼片段和文件信息
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.UIManager;
import?javax.swing.border.EmptyBorder;
public?class?RequestType?extends?Jframe?{
????
????private?JPanel?contentPane;
????private?JTextField?requestField;
????
????/**
?????*?Launch?the?application.
?????*/
????public?static?void?main(String[]?args)?{
????????try?{
????????????UIManager
????????????????????.setLookAndFeel(“com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel“);
????????}?catch?(Throwable?e)?{
????????????e.printStackTrace();
????????}
????????EventQueue.invokeLater(new?Runnable()?{
????????????public?void?run()?{
????????????????try?{
????????????????????RequestType?frame?=?new?RequestType();
????????????????????frame.setVisible(true);
?????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????232??2013-11-15?13:21??.classpath
?????文件?????????379??2010-09-07?13:21??.project
?????文件?????????635??2010-07-15?15:35??.settings\org.eclipse.jdt.core.prefs
?????文件?????????702??2013-11-21?08:40??bin\RequestType$1.class
?????文件?????????650??2013-11-21?08:40??bin\RequestType$2.class
?????文件?????????652??2013-11-21?08:40??bin\RequestType$3.class
?????文件????????2943??2013-11-21?08:40??bin\RequestType.class
?????文件????????3295??2010-07-15?16:30??src\RequestType.java
- 上一篇:Java 修改文件屬性
- 下一篇:Java 驗證IP地址的有效性
評論
共有 條評論