MessageDialog window in Java Swing By admin | March 7, 2011 0 Comment This is a simple message window which popup after an event . You can put this code inside an clicklistener JOptionPane.showMessageDialog(content_frame.getContentPane() , " Message String ", JOptionPane.INFORMATION_MESSAGE);