Question: So I have made some progress on this code thanks you one of you all answering a previous question but here is the whole code
So I have made some progress on this code thanks you one of you all answering a previous question but here is the whole code and I cannot get the robot class to type the char array out for some reason Im not seeing why. My only thought is that I don't specify a return in the Keypress method maybe making the output there not global? anyways some help would be much appreciated.


Import java.awt.AWTEXCeption import java.awt.Robot; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.util.Scanner; public class problemchild public static Robot robot null; public static void main(String[] args) //create a screen analyzer that identifies that there are task then //print the prompts for the variables and stores them as strings to Scanner SE = new Scanner(System.in); System.out.print("Enter State"); string state sc.next(); System.out.println() System.out.print("Enter City"); string city = sc.next(); System.out.println() System.out.print("Enter Profile" string Profile sc.next(); System.out.println() //System.out.print("Location Number"); //String locNum sc.next(); System.out.println() System.out.print("Quote Name"); String quoteName Profile +" " + city +" " + state; System.out.print (quoteName); System.out.println(); char [] a1 = city.toCharArray(); for(int i-e i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
