java开发_闹钟
发布时间:2020-12-14 06:27:36 所属栏目:Java 来源:网络整理
导读:关于闹钟: div class="cnblogs_code" MyAlarm("Alarm hongten v-1.0" } String BACKGROUND_DEFAULT="src/image/background.png" String BACKGROUND_FRUIT="src/image/background1.png" String BACKGROUND_BICK="src/image/background2.png" String[] backgr
关于闹钟:
<div class="cnblogs_code">
MyAlarm("Alarm hongten v-1.0" }
String BACKGROUND_DEFAULT="src/image/background.png"
String BACKGROUND_FRUIT="src/image/background1.png"
String BACKGROUND_BICK="src/image/background2.png"
String[] backgroundList=
String getBackground( }
System.exit(0 }
/Alarm/src/com/b510/menu/AlarmHelp.java
AlarmHelp
serialVersionUID = 5248482602468160509L
addWindowListener( AlarmHelp..setVisible(
JButton closeButton =
javax.swing.JLabel appTitleLabel =
javax.swing.JLabel versionLabel =
javax.swing.JLabel appVersionLabel =
javax.swing.JLabel homepageLabel =
javax.swing.JLabel appHomepageLabel =
javax.swing.JLabel appDescLabel =
javax.swing.JLabel imageLabel =
.setVisible(
setResizable( .setLocation(MyAlarm.pointX+60,MyAlarm.pointY+190);
closeButton.addMouseListener( closeButton.setIcon( ImageIcon("src/image/biao2.png" closeButton.setIcon( ImageIcon("src/image/biao.png"
appTitleLabel.getFont().getStyle() | appTitleLabel.getFont().getSize() + 4 appTitleLabel.setText("应用程序名称:");
appTitleLabel.setName("appTitleLabel");
versionLabel.getFont().getStyle() | versionLabel.setText("版本号:");
versionLabel.setName("versionLabel");
appVersionLabel.setText("1.0");
appVersionLabel.setName("appVersionLabel");
homepageLabel.getFont().getStyle() | homepageLabel.setText("主页:"); |