資源簡介
Java 設置閃爍的標題欄(基礎篇-實例257).zip
代碼片段和文件信息
import?java.awt.BorderLayout;
import?java.awt.EventQueue;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?javax.swing.Jframe;
import?javax.swing.JPanel;
import?javax.swing.Timer;
import?javax.swing.border.EmptyBorder;
import?java.awt.event.WindowAdapter;
import?java.awt.event.WindowEvent;
import?javax.swing.JLabel;
import?javax.swing.SwingConstants;
public?class?FlashtitleBar?extends?Jframe?{
????
????private?JPanel?contentPane;
????
????/**
?????*?Launch?the?application.
?????*/
????public?static?void?main(String[]?args)?{
????????EventQueue.invokeLater(new?Runnable()?{
????????????public?void?run()?{
????????????????try?{
????????????????????FlashtitleBar?frame?=?new?FlashtitleBar();
????????????????????frame.setVisible(true);
????????????????}?catch?(Exception?e)?{
????????????????????e.printStackTrace();
????????????????}
????????????}
????????});
????}
????
????/**
?????*?Create?the?frame.
?????*/
????public?Fl
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????301??2010-07-31?11:26??.classpath
?????文件?????????379??2010-09-07?14:13??.project
?????文件?????????635??2010-07-31?11:26??.settings\org.eclipse.jdt.core.prefs
?????文件?????????712??2013-11-21?08:41??bin\Flashti
?????文件?????????629??2013-11-21?08:41??bin\Flashti
?????文件?????????954??2013-11-21?08:41??bin\Flashti
?????文件????????1900??2013-11-21?08:41??bin\Flashti
?????文件????????2557??2010-07-31?14:20??src\Flashti
- 上一篇:Java 使子窗體最大化顯示
- 下一篇:Java 雙擊編輯樹節點功能
評論
共有 條評論