HelloYou.java
1    /* 
2       Variant of the taditional starter program fearturing a Widget. 
3       Reflection: Conceptually Speaking, the code is constructed of multiple moving parts that need to run off of eachother. 
4       error on my part ruins the code. Technologically the Optionpane disregards the need too establish a scanner. Using widgets in 
5       the future can cut back on the amount of unneeded effort on my end. 
6     */
7    package greetings;
8    
9    import javax.swing.JOptionPane;
10   public class HelloYou {
11       public static void main(String[] args) {
12         String name = JOptionPane.showInputDialog(null, "Who are you?");
13         System.out.println("Hello, "+ name + "!");
14       }
15   }
16