need media plalyer source code in java....
can somebody provide me
source code of media player in java
i need to submit as my project and i have no lead
so if any one can
then please help
source code of media player in java
i need to submit as my project and i have no lead
so if any one can
then please help
Replies
-
Mahesh DahaleThis was my MCA FY Project it will help you
import java.awt.*; import java.applet.*; import java.net.*; public class soundApplet extends Applet { List lst; Button Play,Stop,Loop; AudioClip au; public void init() { setLayout (new GridLayout()); Panel listPanel = new Panel(); Panel buttonPanel = new Panel(); add ("Center", listPanel); add ("Left", buttonPanel); listPanel.setLayout (new GridLayout()); lst = new List(); lst.addItem ("intel54"); lst.addItem ("Windows XP Startup"); lst.addItem ("Windows XP Shutdown"); lst.addItem ("hi"); lst.addItem ("notify"); lst.select (0); listPanel.add ("Center", lst); Play = new Button ("Play"); buttonPanel.add (Play); Stop = new Button ("Stop"); buttonPanel.add (Stop); Loop = new Button ("Loop"); buttonPanel.add (Loop); } public boolean action (Event evt, Object obj) { String strSelection = lst.getSelectedItem() + ".au"; URL codeBase = getCodeBase(); au = getAudioClip (codeBase, strSelection); if (evt.target == Play) au.play(); if (evt.target == Stop) au.stop(); if (evt.target == Loop) au.loop(); return true; } }
For HTML page
Sound Applet
-
yadavundertaker mohitthanks mahesh...
-
oldboy1985thanks
i also needed that one
You are reading an archived discussion.
Related Posts
Many might have already come across these words: but just a repea fort hose who dont know this man's speech! frankly speaking, Wipro Technologies is a competitive vendor and though...
Actually I have a rar file
but there is no winRAR on the system
there is win ZIP on this computer
Can anyone tell how to use this file now...
CEans,
I'd like to bring your attention to a possibly fraud company. eSpot Digital and CE agreed for promotion of Nokia phones through CE and they had agreed for a...
Source: Mukesh Ambani tops Forbes' India rich list - Yahoo! India News
The head of Reliance Industries, Mukesh Ambani, is once again the wealthiest person in India. His net worth...
Can anybody tell how to install cygwin on windows xp?
Please tell what are the steps involved?
I have downloaded the setup.exe from the cygwin.com but now for the installation...