xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 6KB
    文件類型: .java
    金幣: 1
    下載: 1 次
    發布日期: 2022-12-30
  • 語言: Java
  • 標簽:

資源簡介

簡易鬧鐘源代碼,很不錯的參考代碼,下載自取。謝謝!

資源截圖

代碼片段和文件信息

package?com;
import?java.awt.*;
import?java.awt.event.KeyEvent;

import?javax.print.DocFlavor.URL;
import?javax.swing.*;
import?java.util.*;
public?class?AlarmUI?extends?Jframe{
/**
?*?
?*/
private?static?final?long?serialVersionUID?=?6391413949851718108L;
private?JPanel?alarm_0;//主面板
private?JTabbedPane?tbPane;//tab面板
private?Image?image_1;//鬧鐘1界面背景
private?Image?image_2;//鬧鐘2界面背景
private?AlarmPanel?alarm_1;//鬧鐘1面板
private?AlarmPanel?alarm_2;//鬧鐘2面板
private?JLabel?timetip;//當前日期時間提示標簽
private?JLabel?timedisplay;//當前日期時間顯示標簽
private?JLabel?ringup;//響鈴時間標簽
private?JLabel?hour;//時標簽
private?JLabel?minute;//分標簽
private?JLabel?second;//秒標簽
private?JLabel?remark;//備注標簽
private?JLabel?repeat;//重復提醒標簽
private?JLabel?ringsound;//鬧鐘鈴聲標簽
private?JLabel?tip;//窗體下標提示標簽
private?JLabel?tipContent;//窗體下標提示內容標簽
private?JTextField?txt;//備注文本框
private?JComboBox?comH;//時設置組合框
private?JComboBox?comM;//分設置組合框
private?JComboBox?comS;//秒設置組合框
private?JComboBox?comRing;//鈴聲組合框
private?JButton?butTry;//鈴聲試聽按鈕
private?JButton?start;//開啟按鈕
private?JRadioButton?repeat_1;//重復單選按鈕
private?JRadioButton?repeat_2;//不重復單選按鈕
private?JMenuBar?menuBar;//菜單欄
private?JMenu?file;//文件菜單
private?JMenu?tools;//工具菜單
private?JMenu?help;//幫助菜單
private?JMenuItem?ring;//上傳鈴聲文件菜單項
private?JMenuItem?down;//下載鈴聲文件菜單項
private?JMenuItem?about;//關于菜單項
private?JMenuItem?exit;//退出菜單項?


public?AlarmUI(){
super(“鬧鐘“);
//創建圖像對象
?image_1=new?ImageIcon(AlarmUI.class.getResource(“/images/鬧鐘背景1.jpg“)).getImage();??
?image_2=new?ImageIcon(AlarmUI.class.getResource(“/images/鬧鐘背景2.jpg“)).getImage();??

//字體設置創建字體對象
Font?font1=new?Font(“隸書“Font.BOLD24);
Font?font2=new?Font(“楷書“Font.BOLD15);

//顯示當前時間
timetip=new?JLabel(“當前時間:“);
timetip.setFont(font1);
timetip.setBounds(40515060);
timedisplay=new?JLabel(new?Date().toString());
timedisplay.setFont(font1);
timedisplay.setBounds(160540060);

//鬧鐘1面板設置
alarm_1=new?AlarmPanel(image_1);
alarm_1.setPreferredSize(new?Dimension(500400));
alarm_1.setLayout(null);
ringup=new?JLabel(“響鈴時間:“);
ringup.setFont(font2);
ringup.setBounds(401010030);
String[]?h=new?String[]{“關閉““00““01““02““03““04““05““06““07““08““09““10““11““12““13““14““15““16““17““18““19““20““21““22““23“};
comH=new?JComboBox(h);
comH.setBounds(120106030);
comH.setFont(font2);
hour=new?JLabel(“時“);
hour.setFont(font2);
hour.setBounds(185103030);
String[]?m=new?String[]{“關閉““00““01““02““03““04““05““06““07““08““09““10““11““12““13““14““15““16““17““18““19““20““21““22““23““24““25“};
comM=new?JComboBox(m);
comM.setBounds(210106030);
comM.setFont(font2);
minute=new?JLabel(“分“);
minute.setFont(font2);
minute.setBounds(275103030);
comS=new?JComboBox(m);
comS.setBounds(300106030);
comS.setFont(font2);
second=new?JLabel(“秒“);
seco

評論

共有 條評論

相關資源