simple java program on netbeans
This project received 3 bids from talented freelancers with an average bid price of $ USD.Get free quotes for a project like this
Browse Related Skills
Other things people do on Freelancer
Project Budget$30 - $250 USD
need a project done in netbeans. simple, should only take 30mins to 2 hours
i will pay $30 to the provider, half the project is given in the [url removed, login to view] folder.
basically create a main form and complete it so that it does the required thing. (output should look exactly like the screenshots)
i need thisa to be delivered within 3-5 hours of acceptance. i need this ASAP
thank you, PM me with details
Imagine you are writing a simplified program to help a university explore what their application pool looks like. Since the university receives enormous numbers of applications, they do not have time to read essays and will only look at SATs and high school GPA. We are still a bit away from being able to do the full job, so pay attention to what I’m asking for. Also note that you will need to gain an understanding of the provided Applicant class. A quick introduction is included below. You will need to
·declare an ArrayList object as an instance variable in your GUI class so that it is available from all of your buttons (and from start up code). You should also instantiate it as an empty ArrayList when you create it.
· Write a method (general in your GUI class) to read info from a file, creating Applicant objects and adding them to the ArrayList. Please see hints and details below.
· Call that method upon start up (after GUI components are initialized), so no buttons have to be clicked in order for applicant information to be available.
You should create buttons in your GUI to:
· Determine how many applicants meet a given total SAT threshold (that score or higher). Get the given threshold from the user via a text field.
· Determine how many applicants meet a given high school GPA threshold (that GPA or higher). Get the given threshold from the user via a text field.
· Determine how many applicants meet both a given total SAT and a given high school GPA threshold (given values or higher). Get the given thresholds from the user via text fields.
· Determine how high a target Math SAT score has to be in order to get the percent of applicants below a given threshold (entered as a decimal please! – i.e. 20% is expressed as [url removed, login to view]). Get the given percent threshold from the user via a text field.
* SAT scores range from 200-800 on each test, with values always divisible by 10 (i.e. 620 occurs, 621 does not). Total SAT adds the Math and Verbal scores together, so the total SAT can range from 400-1600. We’re ignoring the new writing section.
* GPA’s are assumed to range from 0.0-4.0 (anything outside that range is converted)
* Percentages entered as a decimal range from [url removed, login to view] (0%) to [url removed, login to view] (100%) – at least when we are talking about percentage of a total.
* The applicant names are actually (made-up) initials in my file.
* Make sure you read the documentation on the Applicant class. It is provided as Javadoc documents, which are html files that can be found inside the project folder included in the zip.
* In general, you would make your class in a different project than the Applicant project, because the Applicant class might be useful in a lot of projects besides yours. However, as beginners, you may well be better off taking the expedient path and just including your GUI class file in the same project and package as my code. It’s not what you will be wanting to do for later bigger projects, but for getting started …
* You probably have to get the reading from a file to work before you can test any other part of your program.
* The file contains one line for every applicant. If you read in a line at a time (as done with DVDs in class on 3/25), you are well on your way to creating the ArrayList of Applicants. There is an Applicant constructor that will be very valuable for creating an Applicant object. Adding applicant objects to an ArrayList is no different than adding Integer objects (which was seen in class on 3/23).
* In reading the file, catch exceptions involving the file not being found and display a message (as done in class on 3/25). A data file will be available on Blackboard and my www site. It is (obviously) shorter than real life data and is made up data. Any file with the same format (name, school, math SAT, verbal SAT, GPA) should work.
* We’re no longer going to assume that the clerk enters valid and reasonable values. Ensure that the SAT total, high school GPA, and Percent threshold values entered are reasonable values when relevant buttons are clicked. (DO NOT check them when irrelevant buttons are clicked (e.g. when SAT button is clicked, don’t check GPA threshold)). This does not have to be done via looping (as we probably have done in class). In an event-driven world – you can display a one-time message and give control back to the user. See background knowledge above for reasonable values.
* Don’t try to calculate anything if the inputs are bad – only display a message and let the user back into control.
* If the user enters letters instead of numbers in text fields, the parse commands will crash. We’re still going to ignore these types of problems. (No need to catch and complain about this). (NOTE also that no entry in a text field is like having non-numeric)
* Use any kind of loop that works for you for looping through the ArrayList of Applicants. I suggest a “foreach” though.
* For the SAT Total search, you do NOT have to check that the user specified SAT is divisible by 10. If the user specified an SAT of 1133, you can test how many Applicants have that SAT or higher exactly as you would if they specified 1130.
* In doing the percentage threshold search, find the lowest Math SAT score for which the user specified percentage OR LESS obtained that score. If you have questions about what I’m after here, ask me!
* For looping through possible Math SAT scores, you don’t have to consider impossible SAT scores – you can loop through … , 540, 550, 560, etc
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online