public SubscriberEventHandler(VideoSubscriberGUI gui) throws SocketException{
this.gui = gui;
ds= new DatagramSocket();
MediaPlayerFactory mediaPlayerFactory = new MediaPlayerFactory();
mediaPlayer = mediaPlayerFactory.newMediaPlayer();
}
public void run() {
System.err.println("Processing the Events from the Thread");
// Process the events...