I have a JPanel to which a EmbeddedMediaPlayerComponent is embedded. I added the following listener
mediaPlayerComponent.addMouseListener(new MouseListener() {
@Override
public void mouseReleased(MouseEvent e) {
System.out.println("Mouse Released..Aneesh");
}
@Override
public void mousePressed(MouseEvent e) {
System.out.println("Mouse Pressed..Aneesh");
}
@Override
public void mouseExited(MouseEvent e) {
System.out.println("Mouse Exioted..Aneesh");
}
@Override
public void mouseEntered(MouseEvent e) {
System.out.println("Mouse Entered..Aneesh");
}
@Override
public void mouseClicked(MouseEvent e) {
System.out.println("Mouse Clieck..Aneesh");
}
});
MouseEvent working perfectly unitl video play starts. But once video play started mouseEvent is not getting generated. Am I missing something?