Hi everyone. I'm not really sure whether this topic is appropriate in this forum. Please pardon me if I'm wrong.
I'm currently able to play media files using VLC in my swing program. However, it isn't working out as I wanted it to be. I'm hoping that anyone who has been using VLC in their program/project can help me understand why or how can I resolve this.
I'm building a GUI program that allows user to open and play media files(eg. movie file, music files). If its a music file, the player will not be visible and the music will play in the program UI without being noticed.
I've managed to do this by adding some command lines for it to work through Terminal*.
*Terminal*
When I tried to make it as executable and run in
java swing, It isn't running like in the Terminal. While running the program, the music will be played but with the player visible.
Attached below is the code that I've placed in my program.
Attached in song1.sh file is exactly the same command line that I've used in Terminal*.
I'm using:
Fedora Core 6
VLC media player 0.8.6a
Eclipse 3.2
Thanks in advance.
Adrian Lee
[ July 20, 2007: Message edited by: Adrian Lee ]