📄 ledclock.java
字号:
package bitc;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
public class LEDClock extends JPanel implements Serializable, Runnable {
ImageIcon[] num =
{new ImageIcon(LEDClock.class.getResource("images/0.gif")),
new ImageIcon(LEDClock.class.getResource("images/1.gif")),
new ImageIcon(LEDClock.class.getResource("images/2.gif")),
new ImageIcon(LEDClock.class.getResource("images/3.gif")),
new ImageIcon(LEDClock.class.getResource("images/4.gif")),
new ImageIcon(LEDClock.class.getResource("images/5.gif")),
new ImageIcon(LEDClock.class.getResource("images/6.gif")),
new ImageIcon(LEDClock.class.getResource("images/7.gif")),
new ImageIcon(LEDClock.class.getResource("images/8.gif")),
new ImageIcon(LEDClock.class.getResource("images/9.gif"))};
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -