Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- DialogViewer.java MrG 2013.1003
- purpose: practice with JOptionPane
- required files: DialogViewer.java main class
- translator phase: javac DialogViewer.java
- interpreter phase: java DialogViewer
- */
- //imported class
- import javax.swing.JOptionPane;
- //main method
- public class DialogViewer
- {
- public static void main(String[] args)
- {
- JOptionPane.showMessageDialog(null, "Hello, World!");
- System.exit(0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement