-
大小: 5.87KB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2021-02-20
- 語(yǔ)言: Java
- 標(biāo)簽:
資源簡(jiǎn)介
Java 常見日期格式使用(基礎(chǔ)篇-實(shí)例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
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????????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
評(píng)論
共有 條評(píng)論