Oracle Se Java Runtime Environment Version 7 Update 51

Using SPotify from Desktop and I try to hit add to playlist either by clicking the three dots or right clicking and selecting add to playlist and then my screen just goes black. I can still hear the music but it won't add.