資源簡介
簡單的番茄工作法倒計時,eclipse的源文件,只實現了倒計時、聲音、GUI、規劃任務。是通過文件流實現的,所以運行時會生成一個文件。新手可以看看。
代碼片段和文件信息
package?pers.yanzi.tomoto;
import?java.awt.BorderLayout;
import?java.awt.Font;
import?java.awt.GridLayout;
import?javax.swing.JLabel;
import?javax.swing.JPanel;
import?javax.swing.JScrollPane;
import?javax.swing.JTextArea;
public?class?Text?extends?JPanel{
JTextArea?text?=?new?JTextArea();
JLabel?label?=?new?JLabel(“To?do?list:“);
JLabel?empty?=?new?JLabel(““);
int?i?=?0;
public?Text()?{
setLayout(new?BorderLayout(1010));
label.setFont(new?Font(“微軟雅黑“?Font.PLAIN?14));
empty.setFont(new?Font(“微軟雅黑“?Font.PLAIN?14));
text.setColumns(22);
text.setRows(22);
text.setLineWrap(true);
text.setWrapstyleWord(true);
text.setFont(new?Font(“微軟雅黑“?Font.PLAIN?14));
JScrollPane?scrollPanel?=?new?JScrollPane(text);
add(labelBord
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-06-03?11:40??tomato\
?????文件?????????379??2016-06-03?11:39??tomato\.classpath
?????文件?????????382??2016-06-01?15:47??tomato\.project
?????目錄???????????0??2016-06-01?15:47??tomato\.settings\
?????文件?????????598??2016-06-01?15:47??tomato\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2016-06-03?11:39??tomato\bin\
?????目錄???????????0??2016-06-03?11:39??tomato\bin\pers\
?????目錄???????????0??2016-06-03?11:39??tomato\bin\pers\yanzi\
?????目錄???????????0??2016-06-03?11:40??tomato\bin\pers\yanzi\tomoto\
?????文件????????1332??2016-06-03?11:39??tomato\bin\pers\yanzi\tomoto\Text.class
?????文件????????1050??2016-06-03?11:39??tomato\bin\pers\yanzi\tomoto\Time$1.class
?????文件????????1966??2016-06-03?11:39??tomato\bin\pers\yanzi\tomoto\Time$2$1.class
?????文件????????1519??2016-06-03?11:39??tomato\bin\pers\yanzi\tomoto\Time$2.class
?????文件????????3826??2016-06-03?11:39??tomato\bin\pers\yanzi\tomoto\Time.class
?????文件????????1665??2016-06-03?11:39??tomato\bin\pers\yanzi\tomoto\UI$1.class
?????文件????????2134??2016-06-03?11:39??tomato\bin\pers\yanzi\tomoto\UI.class
?????文件??????????60??2016-06-03?10:42??tomato\bin\pers\yanzi\tomoto\近藤浩治?-?Nintendo?Mark.mid
?????目錄???????????0??2016-06-03?10:48??tomato\src\
?????目錄???????????0??2016-06-01?15:47??tomato\src\pers\
?????目錄???????????0??2016-06-01?15:47??tomato\src\pers\yanzi\
?????目錄???????????0??2016-06-03?11:41??tomato\src\pers\yanzi\tomoto\
?????文件?????????924??2016-06-01?20:50??tomato\src\pers\yanzi\tomoto\Text.java
?????文件????????4440??2016-06-03?11:29??tomato\src\pers\yanzi\tomoto\Time.java
?????文件????????1782??2016-06-02?16:43??tomato\src\pers\yanzi\tomoto\UI.java
?????文件??????????60??2016-06-03?11:41??tomato\src\pers\yanzi\tomoto\近藤浩治?-?Nintendo?Mark.mid
?????文件???????????0??2016-06-03?11:42??tomato\toDoList.txt
- 上一篇:電解電容PCB庫
- 下一篇:武漢大學計算機學院數據庫系統概論期末考試試卷
評論
共有 條評論