資源簡介
Java 常見日期格式使用(基礎篇-實例197).zip
代碼片段和文件信息
package?com.mingrisoft.time;
import?java.awt.EventQueue;
import?java.awt.Font;
import?java.awt.GridLayout;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?javax.swing.JComboBox;
import?javax.swing.Jframe;
import?javax.swing.JLabel;
import?javax.swing.JPanel;
import?javax.swing.border.EmptyBorder;
import?java.awt.event.WindowAdapter;
import?java.awt.event.WindowEvent;
import?java.text.SimpleDateFormat;
import?java.util.Date;
import?javax.swing.UIManager;
public?class?FormatterViewer?extends?Jframe?{
????
????/**
?????*?
?????*/
????private?static?final?long?serialVersionUID?=?-5988076597643890566L;
????private?JPanel?contentPane;
????private?JComboBox?formatterComboBox;
????private?JLabel?resultLabel;
????
????/**
?????*?Launch?the?application.
?????*/
????public?static?void?main(String[]?args)?{
????????try?{
????????????UIManager.setLookAndFeel(“com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel“);
????????}?catch?(Th
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????232??2010-09-11?17:01??.classpath
?????文件?????????379??2010-09-11?17:01??.project
?????文件?????????802??2013-11-21?08:41??bin\com\mingrisoft\time\FormatterViewer$1.class
?????文件?????????747??2013-11-21?08:41??bin\com\mingrisoft\time\FormatterViewer$2.class
?????文件?????????785??2013-11-21?08:41??bin\com\mingrisoft\time\FormatterViewer$3.class
?????文件????????3695??2013-11-21?08:41??bin\com\mingrisoft\time\FormatterViewer.class
?????文件????????4097??2010-09-11?17:01??src\com\mingrisoft\time\FormatterViewer.java
- 上一篇:Java 從xm
l文件中讀取數據 - 下一篇:Java 信息提示對話框
評論
共有 條評論