Ajp Micro
Ajp Micro
A PROJECT REPORT ON
DIPLOMA IN
SUBMITTED TO
SUBMITTED BY
GUIDED BY
INDEX
PART –A PLAN
1 Brief Introduction 1
3 Resources Required 2
PART –B OUTCOME
1 Brief Description 3
2 Aim of Micro-Project 4
Introduction
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.
1
lOMoAR cPSD| 47350772
AIM of Micro-Project
To Design a java program play music stored on machine and control it using
various java components.
Resources Required
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.
3
lOMoAR cPSD| 47350772
lOMoAR cPSD| 47350772
AIM of Micro-Project
To Design a java program play music stored on machine and control it using
various java components.
5
lOMoAR cPSD| 47350772
public MusicPlayer() {
setTitle("Advanced Java Music Player");
setSize(400, 200);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLayout(new FlowLayout());
add(playButton);
add(pauseButton);
add(stopButton);
add(loadButton);
setVisible(true);
}
if (audioClip != null) {
audioClip.stop();
audioClip.setFramePosition(0); // Reset the clip to the beginning
pauseButton.setText("Pause");
playButton.setEnabled(true);
pauseButton.setEnabled(false);
stopButton.setEnabled(false);
}
}
10
lOMoAR cPSD| 47350772
Outputs of Micro-Projects
Output:
lOMoAR cPSD| 47350772
12
lOMoAR cPSD| 47350772
lOMoAR cPSD| 47350772
14
lOMoAR cPSD| 47350772
Skill Developed
Thus we have build music player using Java and various GUI components.
Core Java Knowledge: Writing this music player application will deepen your understanding of
core Java concepts such as object-oriented programming (OOP), classes, objects, methods,
inheritance, and exception handling.
Multithreading: Handling real-time updates like song progress and time synchronization
requires knowledge of threads and how to manage multiple tasks concurrently (e.g., updating
the progress bar while playing the song).
File Handling: You'll learn how to read and write files in Java, especially for interacting with
audio files (e.g., opening files with a FileChooser).
lOMoAR cPSD| 47350772