Pop up messages using Java Snippet

Hi Team,

Can anyone help with creating pop up messages using Java Snippet node when the input data is empty?