Java仿千千静听音乐播放器源代码(3)
发布时间:2021-06-06
发布时间:2021-06-06
Java仿千千静听音乐播放器源代码 自己收集的。
int comparison = 0; if (exited && !pressed) cs.setColor(exitedBorderColor); cs.setColor(borderColor); else cs.drawRect(0, 0, width - 1, height - 1); while (i < height - 1) { } cs.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.8f)); super.paintComponent(g); cs.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha)); comparison = (i - 1) * 100 / (height - 3); if (comparison < 36) { } i++; if (exited && !pressed) cs.setColor(new Color(255 - (comparison + comparison * 2), 255 - (comparison + comparison * 2), 255 - (comparison + comparison * 2))); else cs.setColor(new Color(235 - (comparison + comparison * 2), 235 - (comparison + comparison * 2), 235 - (comparison + comparison * 2))); cs.drawLine(1, i, width - 2, i); if (i != 1) { } if (exited && !pressed) cs.setColor(new Color(comparison - 16, comparison - 16, comparison - 16)); if (exited && !pressed) cs.setColor(new Color(204 - comparison * 2, 204 - comparison * 2, 204 - comparison * 2)); else cs.setColor(new Color(184 - comparison * 2, 184 - comparison * 2, 184 - comparison * 2)); cs.drawLine(2, i, width - 3, i); } else { else cs.setColor(new Color(comparison - 36, comparison - 36, comparison - 36)); cs.drawLine(1, i, width - 2, i);
上一篇:电子厂生产安全用电知识考试题
下一篇:樟宜机场服务品牌蓝背景