Java仿千千静听音乐播放器源代码(13)
发布时间:2021-06-06
发布时间:2021-06-06
Java仿千千静听音乐播放器源代码 自己收集的。
} } } } delete.setEnabled(true); delete.setEnabled(false); else popup.show(this, e.getX(), e.getY()); public void mouseEntered(MouseEvent e) { } public void mouseExited(MouseEvent e) { } public void mousePressed(MouseEvent e) { } public void mouseReleased(MouseEvent e) { }
ProgressBar.java
package eb.cstop.swing;
import javax.swing.JLabel;
import java.awt.*;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import java.util.ArrayList;
import java.awt.event.MouseWheelListener;
import java.awt.event.MouseWheelEvent;
public class ProgressBar extends JLabel implements MouseListener,
MouseMotionListener, MouseWheelListener { private int value = 0; private int minLimit = 0; private int maxLimit = 100; private float alpha = 0.7f; private Color border = new Color(0, 0, 0); private Color color = new Color(250, 160, 0); private ArrayList changeListener = new ArrayList(); private ProgressBarEvent event = new ProgressBarEvent();
上一篇:电子厂生产安全用电知识考试题
下一篇:樟宜机场服务品牌蓝背景