-
-
Save tresf/6e2f0fb8db69457ddc4e05a41b7c7c27 to your computer and use it in GitHub Desktop.
Hello World using the JOptionPane
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************** | |
* HelloGUI.java | |
* Aaron P. Clark, A. Tres Finocchiaro | |
***********************************************/ | |
import javax.swing.*; | |
public class HelloGUI { | |
public static void main(String ... args) throws Throwable { | |
SwingUtilities.invokeAndWait(() -> JOptionPane.showMessageDialog(null, "Hello, World!")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
imprime