Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 iStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started