First time here? Check out the FAQ!
x

Creating a media player using Java and Netbeans

0 votes
asked by (340 points) about Java SE Development Kit
edited by

I want to create a media player application using Java and Netbeans 6.9.1. I can play a song in my project, but suppose I want to pause that song; how can I do that in Netbeans 6.9.1?

1 Answer

0 votes
answered by (80k points)

To do this, you need to create a boolean variable 'Play', for example, that is going to be set on TRUE when the song is playing and when you press the Pause button, this will be set on FALSE. By using such a variable, you will be able to create a function that can remember the location in which you paused the song. There are plenty of examples over Internet about this subject. If you need additional help with your application, it might be a good idea to start your search on the following official Netbeans forum. Also, you can use Google to find other sources.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...