Programming in Java Classes and Java Applets Modifying programs is required from time to time. This lesson will take an existing program and modify it to make updates to the code. Modify last week’s code to implement user input into the program and proces

Programming in Java Classes and Java Applets Modifying programs is required from time to time. This lesson will take an existing program and modify it to make updates to the code. Modify last week’s code to implement user input into the program and process the information. Web pages implement Java Applets that are security signed. In this lesson, a basic Applet that shows shapes will be created and tested in the Applet Viewer. Assignment: Use last week’s assignment and modify it to enter the name and age from the Console (Console – see example 3.9 on page 129) or Dialog Box(Dialog box – For String variable see Example 3.19 on page 151. For Integer input see Example 3.20 on page 152-153). Create an Applet that uses two integer (int) variables x and y to place the picture of four circles (See Example 4.6 page 185) on the screen. Alternate the colors by setting the g.setColor method (see Example 4.9 on page 193). Also, use the g.drawString to place your name above the circles. Below is the what I already have please follow instruction above must be complete and a modified version of what is below. also must be in JAVA using netbeans IDE 8.1 /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package myfirstprogram; /** * * @author Gary */ public class MyFirstProgram { /** * @param args the command line arguments */ public static void main(String[] args) { // This is my first program // Enter your name where it says Your Name String name = “Gary”; // Enter your age where it says Your Age int age = 34; int ageNextBirthday, ageLastBirthday; // age minus 1 ageLastBirthday = age – 1; // age plus 1 ageNextBirthday = age + 1; // print out your results System.out.println(“Hello, my name is “+name+”.”); System.out.println(“My age is “+age+”.”); System.out.println(“My age las birthday was “+ageLastBirthday+”.”); System.out.println(“My age next birthday is “+ageNextBirthday+”.”); } }

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational