freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

java課程設(shè)計(jì)--萬年歷-文庫吧

2025-01-01 05:35 本頁面


【正文】 nListener()//下一月的監(jiān)聽(new ActionListener()//更新時(shí)間按鈕的監(jiān)聽(new ActionListener() )// 封裝給年份下拉列表賦值的操作private void initBoxYear() //封裝給月份下拉列表賦值的操作private void initBoxMonth() package 萬年歷。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。public class WanNianLi extends JFrame { private int temp0 = 0。 private int year = 0。 private int month = 0。 private int hour = 0。 private int minute = 0。 private int second = 0。 Calendar ca = null。 private JTextField Jhour = null。 private JTextField Jminute = null。 private JTextField Jsecond = null。 private JPanel contentPane = null。// 主面板 private JPanel northPane = null。 // 放按鈕面板的面板 private JPanel centerPane = null。 // 中間的日期面板 private JPanel buttonPane = null。 // 按鈕面板 private JPanel time = null。 //時(shí)鐘面板 private JPanel date = null。 private JButton labelYear = null。 // 顯示年份文字 private JButton labelMonth = null。 // 顯示月份文字 private JButton buttonPreYear = null。 // 上一年按鈕 private JButton buttonNextYear = null。 // 下一年的按鈕 private JButton buttonPreMonth = null。 // 上一月按鈕 private JButton buttonNextMonth = null。// 下一月按鈕 private JButton newTime = null。 private JComboBox boxYear = null。 // 年的下拉列表 private JComboBox boxMonth = null。 // 月的下拉列表 private JLabel[] labelDays = null。 // 存儲(chǔ)天 private JLabel dateTime1 = null。 private JLabel dateTime2 = null。 private JLabel dateTime3 = null。 public WanNianLi() { (萬年歷)。 (500, 400)。 // 將面板居中處理 Dimension d = ().getScreenSize()。 int screenWidth = 。 int screenHeight = 。 ((screenWidth ()) / 2, (screenHeight ()) / 2)。 init()。 // 封裝初始化主控件的操作 (true)。 ()。 (true)。 } // 初始化主控件 private void init() { contentPane = new JPanel(new BorderLayout())。// 主面板 northPane = new JPanel(new BorderLayout())。 // 放按鈕面板的面板 centerPane = new JPanel(new GridLayout(7, 7))。 // 中間的日期(七行七列)面板 buttonPane = new JPanel()。 // 按鈕面板 labelYear = new JButton(年份:)。 // 顯示年份文字 labelMonth = new JButton(月份:)。 // 顯示月份文字 buttonPreYear = new JButton()。 // 上一年按鈕 buttonNextYea
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1