AJP Part B
AJP Part B
Mumbai
A Study On
“Music Player Using Java”
MICRO-PROJECT REPORT
Submitted in 2024 by the group of 5 students
Under the
guidance
of
Ms.Nanaware M.M
1
Maharashtra State Board of Technical Education
CERTIFICATE
Seal of
2
INDEX
Sr.
Title Page No.
No.
1 Brief Description 4
2 Aim of Micro-Project 8
3 Course Outcomes 9
3
Brief Description:-
Java was originally developed by James Gosling at Sun Microsystems (which has since
been acquired by Oracle) and released in 1995 as a core component of Sun Microsystems' Java
platform. The original and reference implementation Java compilers, virtual machines, and class
libraries were originally released by Sun under proprietary licenses. As of May 2007, in compliance
with the specifications of the Java Community Process, Sun had relicensed most of its Java
technologies under the GNU General Public License. Oracle offers its own HotSpot Java Virtual
Machine, however the official reference implementation is the OpenJDK JVM which is free open
source software and used by most developers and is the default JVM for almost all Linux distributions.
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.
4
Aim of Micro-Project:-
To Design a java program play music stored on machine and
control it using various java components.
5
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);
6
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);
7
}
catch (Exception ec){}
}
catch(IOException e)
{
e.printStackTrace();
}
}
}
public static void main(String[] args)
{
layer l = new layer();
}
}
8
Output:
9
10
Course Outcomes:-
1.Develop programs to handle events in Java Programming.
11
Actual Procedure Followed:-
First of all we chose the Micro project group. In the micro project group there are five group
members. And their names are given:
After that we read the topics of micro project related to subject AJP. In the list there were so
many topics but we selected the micro project “Music Player Using Java”
Then we collected information related to the micro project. We have to divide the micro
project in the different section. In the first section, all group members have visited all
resources-or all the websites and collected the information about the micro project. We all
group members checked our work & information again under the guidance of ( Ms.Nanaware
M.M ) We corrected all the mistakes of the micro project or any enquiry related to the micro
project with the help of our guide.
After the collection of all the information we started to collect the main information from it.
Then next step is to make the micro project report. Then Next week we have to create the
micro project report with the help of MSBTE sample report under the guidance of.
(Ms.Nanaware M.M) And Finally we successfully completed our micro project
12
Skill developed of the Micro- Project:-
Thus we have build music player using Java and various GUI components.
13
Actual resources used:
14
Teacher Evaluation Sheet
Name of Student::……………………………………………………….
Enrollment No:-……….……………..……
Name of Program:………………………………………………………….
Semester:……………………………
Course Title:……………………………………………………………………………………
Code: ……………………………………….
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
……………………………………………………………………………………………………….
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
…………………………………………………………………………………………………………
.…
15
Evaluation as per Suggested Rubric for Assessment of Micro-Project:-
Characteristics to Poor Average Good Excellent
No. be assessed
(Marks 1- (Marks 4- (Marks 6- (Marks 9-
3) 5) 8) 10)
1 Relevance to the course
2 Literature Survey/
Information Collection
3 Project Proposal
4 Completion of the
Target as per project
proposal
5 Analysis of data
and representation
6 Quality of
Prototype/ Model
7 Report Preparation
8 Presentation
9 Defence
16
Micro-Project Evaluation Sheet
Note:
Every course teacher is expected to assign marks for group evolution in first
3 columns & individual evaluation in 4th column for each group of students
as per rubrics.
……………………………………………………………………………………………………
…………………………………………
……………………………………………………………………………………………………
…………………………………………
……………………………………………………………………………………………………
……………………………………
……………………………………………………………………………………………………
…………………………………………
……………………………………………………………………………………………………
…………………………………………
……………………………………………………………………………………………………
…………………………………………
Signature……………………………………………………………………………………
17