Advance Java Microproject
Advance Java Microproject
A MICRO-PROJECT REPORT ON
“MUSIC PLAYER USING ADVANCED JAVA”
SUBMITED BY:-
MANAV PIMPALSHENDE
UNDER GUIDANCE
Prof mrs. ANKITA GADEKAR
THIS IS CERTIFY THAT THE MICROPROJECT
IS SUCCESSFULLY SUBMITTED BY,
• Manav Pimpalshende
INDEX
1 Brief Description
2 Resources Required
3 Literature Review
4 Actual Procedure
5 Outputs of the Micro-Projects
6 Skill Developed
7 Conclusion
lOMoARcPSD|32033068
1. Brief Description
Music Player lets you manage all your music files quickly and easily .
This audio player supports almost all types of mp3 , midi ,wav , flac raw aac files
and other audio formats . Easily browse and play music songs by genres , albums
, artists , songs and folder.
Media is integral parts of our lives. We are creating media player using java to
handle all the music requirements of user.
James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java
language project in June 1991. Java was originally designed for interactive television,
but it was too advanced for the digital cable television industry at the time. The
language was initially called Oak after an oak tree that stood outside Gosling's office.
Later the project went by the name Green and was finally renamed Java,
from Java coffee, the coffee from Indonesia. Gosling designed Java with a C/C+
+-style syntax that system and application programmers would find familiar.
lOMoARcPSD|32033068
2. Resources Required
3. Literature Review
A literature review on music player development in Java reveals a rich
landscape of research and development efforts that span various aspects of
software engineering, multimedia technologies, and user interface design.
Several studies focus on the core functionality of music players, such as audio
playback, file format compatibility, and performance optimization. These
investigations explore algorithms for decoding audio files, audio streaming,
and memory management. Moreover, there is a significant body of work
dedicated to user interface design, where researchers explore graphical user
interfaces (GUIs), touchscreen interaction, and usability studies. Additionally,
research in the field delves into advanced features like playlist management,
music recommendation algorithms, and social integration. Security and
privacy concerns have also gained attention, particularly in the context of
online music streaming and cloud-based storage solutions. Collectively, this
literature highlights the diverse challenges and opportunities in music player
development in Java, offering insights into both technical and user-centric
aspects of this popular software domain.
lOMoARcPSD|32033068
4. Actual Procedure
Code:-
package jlay;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedInputStream;
import java.io.File;
import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.Player;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.function.Function;
Player ;
BufferedInputStream bis;
FileInputStream fis;
File file;
layer(){
JFrame main = new JFrame();
main.setVisible(true);
main.setVisible(400,440);
main.setLayout(new FlowLayout());
main.setBackground(Color.MAGENTA);
main.add(choose);
main.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
void open_dialog()
{
JFileChooser fc = new JFileChooser();
int result = fc.showOpenDialog(null);
if (result == JFileChooser.APPROVE_OPTION)
{
try {
file = new File(fc.getSelectedFile().getAbsolutePath());
fis = new FileInputStream(file);
bis = new BufferedInputStream(fis);
try {
player = new javazoom.jl.player.Player(bis);
lOMoARcPSD|32033068
}
catch (Exception ec){}
}
catch(IOException e)
{
e.printStackTrace();
}
}
}
public static void main(String[] args)
{
layer l = new layer();
}
}
lOMoARcPSD|32033068
5. Outputs of Micro-Projects
Output:
lOMoARcPSD|32033068
lOMoARcPSD|32033068
6. Skill Developed
7. Conclusion
One of the most important benefits of Java is its capacity to move easily
from one computer system to another. The capability to run the same
program on many different systems is essential to World Wide Web
software, and Java grows at this by being platform-independent at both
the source and binary levels.