java fina
java fina
Microproject on
Submitted by
Kanishka Gumgaonkar
Under Guidance of
Ms. A.D.Mate
Sinhgad Institutes
PUNE - 411041
Content
2 Rationale 3
4 Literature Review 5
7 Skill Developed 8
8 Applications 9
Annexure – I
Micro-Project Proposal Music
Player
Pallavi Dalvi
2 Database My sql 1
Annexure - II
1.0 Rationale:
Music Player lets you control all your music files fast and easily. This audio player supports
nearly all kinds of mp3, midi,wav, FLAC raw aac files, and additional audio formats .
Easily browse and play music songs by genres, albums, artists, songs, and folders. Media
is a crucial factor in our lives. We are making a media player using java to handle all the
music requirements of the user.
mobile music, while software-based players on computers (such as Winamp) introduced playlist
management and audio customization. Today, streaming technology dominates, making music
accessible anywhere with internet access and enabling seamless user experiences across
devices.
2 Database My sql 1
setVisible(true);
}
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == loadButton) {
loadAudio(); } else if (e.getSource() ==
playButton) { playAudio();
} else if (e.getSource() == stopButton) { stopAudio();
}
}
if (result == JFileChooser.APPROVE_OPTION) {
File audioFile = fileChooser.getSelectedFile(); try
{
audioStream =
AudioSystem.getAudioInputStream(audioFile); audioClip =
AudioSystem.getClip(); audioClip.open(audioStream);
statusLabel.setText("Loaded: " + audioFile.getName());
playButton.setEnabled(true); stopButton.setEnabled(false);
} catch (UnsupportedAudioFileException | IOException | LineUnavailableException
ex) {
statusLabel.setText("Error loading audio file.");
ex.printStackTrace();
}
}
}
8.0 Output:
11.0 Conclusion:
A music player is a practical, engaging that offers valuable insights into multimedia
programming. It combines essential skills like audio processing, file management, and user
interface design, making it an ideal choice for learning and developing interactive
applications. We build a Music Player using various GUI components.
12.0 References :
▪ www.tutorialspoint.com
▪ www.studytonight.com ▪ www.w3school.com
Advance Java Programming (22517) Music Player