

import java.util.Scanner;
import java.io.FileInputStream;
import javazoom.jlgui.basicplayer.BasicPlayer;

public class JLGUITest {

	//static BasicPlayer foobar;
	
	public static void main(String[] args) {

		BasicPlayer foobar = BasicPlayer();
		
		/*

		// Ask for file name
		//System.out.println("Type in location to song file:");
		//Scanner input = new Scanner(System.in);
		//String file = input.nextLine();
		
		try {
			FileInputStream stream = new FileInputStream("C:\\foobar.mp3");
			foobar = new BasicPlayer();
			
			foobar.open(stream);
			System.out.println("stream " + stream + "opened");
			foobar.play();
			System.out.println("stream " + stream + "playing");
			Thread.sleep(3000);
			foobar.pause();
			System.out.println("stream " + stream + "paused");
			Thread.sleep(3000);
			foobar.resume();
			System.out.println("stream " + stream + "resumed");
			Thread.sleep(3000);
			foobar.stop();
			System.out.println("stream " + stream + "stopped");
			Thread.sleep(3000);
			foobar.play();
			System.out.println("stream " + stream + "playing");
			Thread.sleep(3000);
			while (true) {
				System.out.println("status " + foobar.getStatus());
			}
			
			
		} catch (Exception e) {
			e.getStackTrace();
		}
		
		*/

	}

	
}
