資源簡介
設置Windows系統的文件
代碼片段和文件信息
package?com.mingrisoft;
import?java.awt.EventQueue;
import?java.awt.GridLayout;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?java.io.File;
import?java.io.IOException;
import?java.util.Scanner;
import?javax.swing.JButton;
import?javax.swing.JCheckBox;
import?javax.swing.JFileChooser;
import?javax.swing.Jframe;
import?javax.swing.JLabel;
import?javax.swing.JPanel;
import?javax.swing.JTextField;
import?javax.swing.border.EmptyBorder;
public?class?FileAttributeModification?extends?Jframe?{
????/**
?????*?
?????*/
????private?static?final?long?serialVersionUID?=?-5028582953468410969L;
????private?JPanel?contentPane;
????private?JTextField?textField;
????private?File?selectFile;
????private?JCheckBox?readCheckBox;
????private?JC
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????379??2011-05-23?19:43??.project
?????目錄???????????0??2012-02-22?14:42??.settings\
?????文件?????????629??2011-05-23?19:43??.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2012-02-22?14:42??src\
?????目錄???????????0??2012-02-22?14:42??src\com\
?????目錄???????????0??2012-02-22?14:42??src\com\mingrisoft\
?????文件????????5912??2011-05-23?19:43??src\com\mingrisoft\FileAttributeModification.java
?????文件?????????301??2011-05-23?19:43??.classpath
- 上一篇:java將用戶輸入信息保存至txt文件
- 下一篇:java查找并替換文本文件內容
評論
共有 條評論