Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help in JAVA a map, we have a choice between using 'just Java' code to render the line, or using MOJ0 code in that endeavor.

Help in JAVAimage text in transcribed

a map, we have a choice between using 'just Java' code to render the line, or using MOJ0 code in that endeavor. The program QuickStart4f.java draws a line on a map. Your task is to make this code 'interactive', by allowing the user to supply start and end points for the line, using textfields for entering latitudes and longitudes. Your base map can be North America, Canada, India, the whole world, whatever you like. You will probably want to have JTextFields, JLabels, and a JButton that says something like DRAW NOW. You might have a README button to explain things to the user. A lot of variety is possible, and your work should be strictly your own. It would be nice to supply 3 points, and slow draw a triangle, but that is for a bonus. You can add more features than that, but you must begin your demo on grade night by running the initial code to slow draw one line, from user supplied start point to user supplied end point. Similarly it would be nice to allow the user to select the color for the line. Blue is a bad default if drawing over a blue ocean. Give the user some color choices. This notion is not optional. a map, we have a choice between using 'just Java' code to render the line, or using MOJ0 code in that endeavor. The program QuickStart4f.java draws a line on a map. Your task is to make this code 'interactive', by allowing the user to supply start and end points for the line, using textfields for entering latitudes and longitudes. Your base map can be North America, Canada, India, the whole world, whatever you like. You will probably want to have JTextFields, JLabels, and a JButton that says something like DRAW NOW. You might have a README button to explain things to the user. A lot of variety is possible, and your work should be strictly your own. It would be nice to supply 3 points, and slow draw a triangle, but that is for a bonus. You can add more features than that, but you must begin your demo on grade night by running the initial code to slow draw one line, from user supplied start point to user supplied end point. Similarly it would be nice to allow the user to select the color for the line. Blue is a bad default if drawing over a blue ocean. Give the user some color choices. This notion is not optional

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions