1 /* 2 *Variant of the traditional starter program that features a widget 3 */ 4 package greetings; 5 6 import javax.swing.*; 7 8 public class HelloYou { 9 public static void main(String[]args) { 10 String name = JOptionPane.showInputDialog(null, "How are you?"); 11 System.out.println("Too bad! Tell a counselor idiot!"); 12 } 13 } 14