javax.swing.JOptionPane.showMessageDialog(null,"Welcome to be wonderful world of Java!","Welcome,new programmer",javax.swing.JOptionPane.PLAIN_MESSAGE);
javax.swing.JOptionPane.showMessageDialog(null,"Welcome to be wonderful world of Java!","Welcome,new programmer",javax.swing.JOptionPane.PLAIN_MESSAGE);
import java.awt.*; import javax.swing.*; u forget to import these two package in ur program and u make a mistake of spelling should be JOptionPane not JOptionpane
import javax.swing.*;public class Welcome { public static void main(String args[]) { JOptionPane.showMessageDialog( null, "Welcome to be wonderful world of Java!", "Welcome,new programmer", JOptionPane.PLAIN_MESSAGE); System.exit(0); }}
import javax.swing.*;
u forget to import these two package in ur program
and u make a mistake of spelling
should be JOptionPane not JOptionpane
{
public static void main(String args[])
{
JOptionPane.showMessageDialog(
null,
"Welcome to be wonderful world of Java!",
"Welcome,new programmer",
JOptionPane.PLAIN_MESSAGE);
System.exit(0);
}}