Java仿千千静听音乐播放器源代码(4)
发布时间:2021-06-06
发布时间:2021-06-06
Java仿千千静听音乐播放器源代码 自己收集的。
} public void mouseClicked(MouseEvent e) { } public void mousePressed(MouseEvent e) { } public void mouseExited(MouseEvent e) { } public void mouseEntered(MouseEvent e) { } public void mouseReleased(MouseEvent e) { } pressed = false; this.repaint(); exited = true; this.repaint(); exited = false; this.repaint(); pressed = true; this.repaint();
LButton.java
package eb.cstop.swing;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class LButton extends JButton implements MouseListener {
public LButton(String text) { super(text); public LButton() { } this.setButton(); private final Font font = new Font("宋体", 0, 12); private boolean mouseOn = false; private boolean mouseDown = false;
上一篇:电子厂生产安全用电知识考试题
下一篇:樟宜机场服务品牌蓝背景