12 Jun Computer Science Java
This assignment is a combination of the two lab assignments. You are a week behind in the lab. So I combined the two lab assignments into one homework assignment. Part 1: Create the GUI Window for user Interaction 1. The root node of the GUI is a BorderPane. 2. On the top of the GUI is the TextField to show the math expression that you enter. 3. The TextField is put in an HBox. 4. On the right is the equals sign button. This button is put in a VBox. 5. On the left is a VBox that contains all basic mathematical operations, +, -, *, and /. 6. You also create buttons for each of these operations and add then to the VBox. This VBox is different from the one you created for the equals button. 7. Next use a GridPane to create all the number buttons, the Clear Button (”C”), the Exit button(”E”), the Memory Button(”M”), and the Recall Button(”R”). 8. The clear button should clear the TextField and reset other variables to null or zero based on the variable type, the exit button (”E”) quits the program, the memory button stores the result of the last operation and the recall button recalls the stored result without any change. Part 2: Algorithm for a Line calculator 1. Your text book has a case study of a line-oriented calculator in chapter 9. Please study that and also use your computer’s built-in calculator as an example of what is required. 2. Your book gives a complete program without a GUI that shows how to write this code. 3. Your job is to combine that code with a GUI implementation. 4. There are many ways to write the program. 5. This calculator, doesn’t follow precedence rules etc. That’s fine. 6. Your goal is to use the book’s program and the GUI together so that you achieve the same result by clicking on buttons. 7. This program will help you to write event driven programming code using different layout panes.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.
