Click here to Skip to main content
15,303,572 members
Please Sign up or sign in to vote.
1.67/5 (2 votes)
See more:

Hi, I'm doing a project on a media player created with java netbeans. Basically I'm able to create a simple media player that is able to play files in mpeg or mp3 that I have selected. I am trying to now create maybe a button that will link to a mpeg file straightaway without selection going through the file select.

 For example I click a button  "MPEG File". It plays the "MPEG File" in the player.

Posted

This is not a question. Answering just to get it out of the unanswered questions list.
   
You need to build a catalog in your application (similar to Windows Media Player). When your app first starts, you scan the disk, or selected directories, and build a catalog of files and their friendly names. You can store this information in a flat file, database, or registry entry for future use. Then display all the friendly names in some sort of list view and then you can select the file automatically from within your player.
   
I am a Software Engineer, i want to help u. So you have to give your Media Player source code. Then i will develop it for u.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900