• 大小: 5.87KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-20
  • 语言: Java
  • 标签:

资源简介

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

评论

共有 条评论