Need Java programming assistance for Intro to Java programing.
/** * Course: IT110 - Introduction to Programming * Filename: GrillsRUsPhase2.java * */ import javax.swing.JOptionPane; /** * @author Csencsits Daniel January 10 2016 */ public class GrillsRUsPhase2 { private static String colorInputMsg; private static String colorReturn; private static String productReturn; /** * @param args */ public static void main(String[] args) { // declare variables String openingMsg, nameInputMsg, customerName, nameOutputMsg, returnInputMsg, customerReturn, returnOutputMsg, greetingOutputMsg, colorInputMsg, productReturn, colorOutputMsg,colorReturn, colorReturnMsg, outputMsg; // display opening message openingMsg = "*** Welcome to Grills-R-Us BBQ Grills Online Ordering System ***\n" + " It is a great day to order a New BBQ Grill!"; JOptionPane.showMessageDialog(null, openingMsg); // get required input using dialogs nameInputMsg = "Please enter your name: "; customerName = JOptionPane.showInputDialog(nameInputMsg); returnInputMsg = "Are you a returning customer (yes or no)? "; customerReturn = JOptionPane.showInputDialog(returnInputMsg); colorInputMsg = "What color Grill do you wish to order (Black, Blue or Stainless Steel) : "; colorReturn = JOptionPane.showInputDialog(colorInputMsg); // build output strings nameOutputMsg = "Welcome " + customerName + ".\n\n"; returnOutputMsg = "Your return customer status is " + customerReturn + ".\n\n" + "You selected color option is " + colorReturn + ".\n" ; greetingOutputMsg = "Thank you for visiting Grills-R-Us!" + "\n\n" + "Your order should be ready in less than 60 minutes for pickup or ships within 24 hours.\n"; // create and display output string outputMsg = nameOutputMsg + returnOutputMsg + greetingOutputMsg; JOptionPane.showMessageDialog(null, outputMsg); System.exit(0); } // end main() } // end class GrillsRUsPhase2