Java仿千千静听音乐播放器源代码(12)
发布时间:2021-06-06
发布时间:2021-06-06
Java仿千千静听音乐播放器源代码 自己收集的。
} public void focusLost(FocusEvent e) { } public void keyPressed(KeyEvent e) { } public void keyReleased(KeyEvent e) { } public void keyTyped(KeyEvent e) { } public void actionPerformed(ActionEvent e) { } public void mouseClicked(MouseEvent e) { if (e.getButton() == MouseEvent.BUTTON3) { this.requestFocus(); if (this.getText().length() < 1) { copy.setEnabled(false); cut.setEnabled(false); selectAll.setEnabled(false); delete.setEnabled(false); copy.setEnabled(true); cut.setEnabled(true); selectAll.setEnabled(true); Object source = e.getSource(); if (source == cut) this.cut(); this.copy(); this.paste(); this.selectAll(); this.replaceSelection(""); else if (source == copy) else if (source == paste) else if (source == selectAll) else if (source == delete) if (e.getKeyCode() == KeyEvent.VK_ENTER) { } this.transferFocus(); } else {
上一篇:电子厂生产安全用电知识考试题
下一篇:樟宜机场服务品牌蓝背景