Java仿千千静听音乐播放器源代码(16)
发布时间:2021-06-06
发布时间:2021-06-06
Java仿千千静听音乐播放器源代码 自己收集的。
} this.repaint(); public Color getBorderColor() { } public void setColor(Color color) { } public Color getColor() { } public void paintBorder(Graphics g) { } public void mouseClicked(MouseEvent e) { } public void mouseEntered(MouseEvent e) { } public void mouseExited(MouseEvent e) { } public void mousePressed(MouseEvent e) { Graphics2D cs = (Graphics2D) g; int width = this.getSize().width; int valueWidth = (int) (((float) value / maxLimit) * (float) width); cs.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha)); cs.setColor(color); for (int i = 1; i < valueWidth - 1; i++) { } cs.setColor(border); cs.drawRect(0, 0, width - 1, 4); if (i % 2 == 0) { } cs.drawLine(i, 1, i, 1); cs.drawLine(i, 3, i, 3); return color; this.color = color; this.repaint(); return border;
上一篇:电子厂生产安全用电知识考试题
下一篇:樟宜机场服务品牌蓝背景