SuperVCD管理系统 java版完整代码 带各种注释....(10)
发布时间:2021-06-07
发布时间:2021-06-07
SuperVCD管理系统 完整代码,带各种注释,可以拿这个项目入门。
class GoActionListener implements ActionListener {
public void actionPerformed(ActionEvent event) {
populateListBox();
}
}
class DetailsActionListener implements ActionListener {
public void actionPerformed(ActionEvent event) {
int index = musicListBox.getSelectedIndex();
MusicRecording myMusicRecording = (MusicRecording) musicArrayList.get(index);
MusicDetailsDialog myDetailsDialog = new MusicDetailsDialog(parentFrame, myMusicRecording);
myDetailsDialog.setVisible(true);
}
}
class ExitActionListener implements ActionListener {
public void actionPerformed(ActionEvent event) {
parentFrame.exit();
}
}
class ClearActionListener implements ActionListener {
public void actionPerformed(ActionEvent event) {
Object[] noData = new Object[1];
musicListBox.setListData(noData);
categoryComboBox.setSelectedIndex(0);
上一篇:六年级尖子生测试卷
下一篇:学生学习水平测试分析