Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Sunil Garg   on Feb 20 In Java Category.

  
Question Answered By: Emma Brown   on Feb 20

try putting the following snippet in there and if it works, change the message.
make sure you have the import statement:

import javax.swing.*;


String message = "This is a test of the emergency broadcast system.");
JOptionPane.showMessageDialog(null,message);

Share: 

 
 
Didn't find what you were looking for? Find more on Hey Guys Need Help Fast? Or get search suggestion and latest updates.


Tagged: