SSD4实验六实验报告 (3000字).docVIP

  • 7
  • 0
  • 约3.43万字
  • 约 47页
  • 2016-11-01 发布于贵州
  • 举报
SSD4实验六实验报告 (3000字)

SSD4实验六实验报告 (3000字) ok3w_ads(“s004”); ok3w_ads(“s005”); 实验六 一、实验目的 编写一个完整的DATE/TIME选择界面,能实现时间,时区选择 对windows显示属性界面进行分析,写出UAR报告 二、实验内容 编写以下程序项目,并包含以下内容 要求: ? ? ? ? ? ? ? ? ? The second setting (0 to 59) The minute setting (0 to 59) The hour setting (in 24 hour time, 0 to 23) The day of the month The month of the year The year The index of the currently selected time zone The offset in minutes from GMT for the currently-selected time zone The title of the currently selected time zone 样例界面: 对以下界面进行界面分析 三、实验步骤 实验代码 /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * exercise5B.java * * Created on 2012-12-2, 16:13:25 */ package mycode; import java.awt.BasicStroke; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Graphics; import java.awt.Graphics2D; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.TimerTask; import javax.swing.ButtonGroup; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JSpinner; import javax.swing.JTable; import javax.swing.SpinnerNumberModel; import javax.swing.table.AbstractTableModel; import javax.swing.table.TableCellRenderer; // Variables declaration - do not modify // Variables declaration - do not modify /** * * @author Administrator */ public class exercise5B extends javax.swing.JFrame { /** Creates new form exercise5B */ public exercise5B() { calendar = Calendar.getInstance(); amorpm = calendar.get(Calendar.AM_PM);//获取当天是在上午还是下午 initComponents(); x=jLabel1.getLocation().x; y=jLabel1.getLocation().y; selectnum = -1; } /** This method is called fro

文档评论(0)

1亿VIP精品文档

相关文档