In The Reservecarjbuttonactionperformed Method I Need To Add A Try Block Which I

In the reserveCarJButtonActionPerformed method I need to add a try block (which I’ve done)…..But….Inside the try block, I need to create a FileReader by passing the reserveFile to ists constructor. Then, use this FileReader to intialize BufferedReader input. I’ve uploaded the code file I’ve worked on so far…as well as, pasted below.// Exercise 25.15: CarReservation.java// This application allows users to input their names and// reserve cars on various days.import java.awt.*;import java.awt.event.*;import java.io.*;import java.util.Date;import javax.swing.*;import javax.swing.event.*;public class CarReservation extends JFrame{// JLabel and JSpinner to display dateprivate JLabel selectDateJLabel;private JSpinner dateJSpinner;// JLabel and JTextField to display nameprivate JLabel nameJLabel;private JTextField nameJTextField;// JButton to reserve carprivate JButton reserveCarJButton;//create two instance variablesPrintWriter output;BufferedReader input; // no-argument constructorpublic CarReservation(){createUserInterface();}// create and position GUI componentspublic void createUserInterface(){// get content pane for attaching GUI componentsContainer contentPane = getContentPane();// enable explicit positioning of GUI componentscontentPane.setLayout( null );// set up selectDateJLabelselectDateJLabel = new JLabel();selectDateJLabel.setBounds( 16, 16, 96, 23 );selectDateJLabel.setText( “Select the date:” );contentPane.add( selectDateJLabel );// set up dateJSpinnerdateJSpinner = new JSpinner( new SpinnerDateModel() );dateJSpinner.setBounds( 16, 43, 250, 23 );dateJSpinner.setEditor( new JSpinner.DateEditor( dateJSpinner, “MM/dd/yyyy” ) ); contentPane.add( dateJSpinner );dateJSpinner.addChangeListener(new ChangeListener() // anonymous inner class{// event handler called when dateJSpinner is changedpublic void stateChanged( ChangeEvent event ){dateJSpinnerChanged( event );}} // end anonymous inner class// set up nameJLabelnameJLabel = new JLabel();nameJLabel.setBounds( 16, 70, 100, 23 );nameJLabel.setText( “Name: ” );contentPane.add( nameJLabel );// set up nameJTextFieldnameJTextField = new JTextField();nameJTextField.setBounds( 16, 97, 250, 23 );contentPane.add( nameJTextField );// set up reserveCarJButtonreserveCarJButton = new JButton();reserveCarJButton.setBounds( 16, 130, 250, 23 );reserveCarJButton.setText( “Reserve Car” );contentPane.add( reserveCarJButton );reserveCarJButton.addActionListener(new ActionListener() // anonymous inner class{// event handler called when reserveCarJButton is clickedpublic void actionPerformed( ActionEvent event ){reserveCarJButtonActionPerformed( event );//create new File ObjectString reserveFile = “reservations.txt” try{File}}} // end anonymous inner class); // end call to addActionListener// set properties of application’s windowsetTitle( “Car Reservation” ); // set title bar string// set window size// display window} // end method createUserInterface// write reservation to a fileprivate void reserveCarJButtonActionPerformed( ActionEvent event ){} // end method reserveCarJButtonActionPerformed// enable reserveCarJButtonprivate void dateJSpinnerChanged( ChangeEvent event ){reserveCarJButton.setEnabled( true );} // end method dateJSpinnerChanged// main methodpublic static void main( String[] args ){CarReservation application = new CarReservation();application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );} // end method main} // end class CarReservation/********************************************************************************** * programs or to the documentation contained in these books. The authors **** **************************************************************************/

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Resource Below Ngo 2016 Notes That There Are Four Primary Types Of Team P

In the resource below, Ngo (2016) notes that there are four primary types of team players: contributor, collaborator, communicator, and challenger.

Ngo, S. (February, 16, 2016). The 4 types of team players: Which are you? Retrieved from https://www.cheatsheet.com/money-career/the-4-types-of-team-players-which-are-you.html/?a=viewall

Within your company, the CEO has just posted an opening for manager within your department. The post provides all of the requirements for the job and also notes that you will need to provide an essay related to Ngo’s four primary types of team players; however, you must present this in a creative way as the CEO is looking for uniqueness and outside-the-box thinking about the types of team players.

Your essay must include the following components:

  • describe each type of team player;
  • relate each type of team player to a real or fictional historic figure;
  • connect how each historic figure fits his or her respective type; and
  • establish how you will handle the team makeup (provided you had each type of team player) during each phase of development.

Your essay must be at least two pages in length, not including the title and reference pages. Next, you must include at least two references, one of which can be your textbook. Finally, you must follow APA guidelines throughout.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Roles Of Social Change Agent Leader And Advocate Human Services Professio

In the roles of social change agent, leader, and advocate, human services professionals have many responsibilities. At the regional level, multiple or missing standards, guidelines, laws, and regulations may pose challenges to human services professions. As a human services professional, you should be aware not only of your responsibilities, but also of any regional-level challenges you may encounter when attempting to fulfill your responsibilities.

 To prepare:Select a regional-level challenge related to human and social services professions and/or the roles and responsibilities of human and social services professionals. This should be a challenge you or the human services profession might face when attempting to address issues at the regional level, such as funding or available resources. Regional may include but is not limited to your local community, geographical zone, county, state/province, or surrounding locality.Then, think about why addressing the challenge is important to the profession, as well as what difference the challenge’s resolution or improvement might make. 

With these thoughts in mind:By Day 4Post  the name of your region, as well as a brief description of the challenge you selected. Explain why addressing this challenge is important to the profession and what difference its resolution or improvement might make. Explain how you might apply change, leadership, and/or advocacy theories and processes to address the challenge. Describe the ethical challenges that might come into play when attempting to address the challenges. Be specific, and provide examples to illustrate your points.

Note: Put your challenge in the subject line of your posting. You will be asked to respond to someone with a different challenge.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Run Grown Transform Rgt Framework The Third Component Is Framework Or Ena

In the run-grown-transform (RGT) framework, the third component is framework, or enabling your organization to operate in an entirely new way. Of the three major business IT applications (supply chain management, and E-collaboration), which one do you believe most support organizational transformation? Justify your answer.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Schembre Case On Page 53 Of Your Text The Court Examines The Notion Of Pe

In the Schembre case on page 53 of your text, the court examines the notion of persuasive precedents as contrasted with binding precedents (stare decisis). 

1. Please describe the circumstances under which a court would look to precedents from an out-of-state court. 

2. What may a court do if it disagrees with the out-of-state court’s decision?

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Scientific Revolution Module We Learned About Scientists Who Made Revolut

In the Scientific Revolution module, we learned about scientists who made revolutionary discoveries about people, nature, and the universe. Using new technology such as the telescope and the microscope, scientists and amateurs alike looked at the world with wonder and amazement. Almost four hundred years later, our interest in science and technology has not diminished. 

To help you understand the role science and technology continues to play in our world, locate an article on current science and technology.  Second, write a brief summary of the article and include an explanation of why you chose the article and its relevance today. Third, post your summary, why you chose the article, and its relevance (why it is important) and the URL (web address/link to the article) in your first discussion board post. 

Last, read the posts made by other students. Choose 2 of your peer’s posts which interest you and write a response expressing your opinion/viewpoint on their current events.  

Possible Websites: You may choose to use a website other than the ones suggested.  

https://www.sciencenews.org/ (Links to an external site.)Links to an external site.

https://www.sciencedaily.com/ (Links to an external site.)Links to an external site.

https://www.bbc.com/news/technology (Links to an external site.)Links to an external site.

https://www.theverge.com/tech (Links to an external site.)Links to an external site.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Sense In Which We Will Be Using The Term An Argument Is Something That Wi

In the sense in which we will be using the term, an “argument” is something that will always have A. valid premises B. Conclusion C. Soundness.

In one type of argument, if the argument is valid, and if the premises then reason says that we must accept the conclusion as true. This type of argument is called A. Dialectical B. Deductive C. Inductive

The fallacy of “ad hominem” occurs whenever we ____ rather than _____

A. Stay only at the surface of a discussion

B. Attack a person rather than his or her ideas.

C. Throw a discussion off track by bringing in an irrelevant point

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Sentence What Are You Doing

In the sentence, “What are you doing?” what is…

a. 

an interrogative adverb.

b. 

an interrogative pronoun.

c. 

an adjective

d. 

an adverb.

How would you change the following to make it grammatically correct?

Mila and me will be going to Leif’s house together. 

Afterward, Katie and Adam will come back with Mila and me.

a. 

Change both instances of “me” to “I”.

b. 

Change the first “me” to “I”.

c. 

Change the second “me” to “I”.

d. 

It is fine as it is.

In the sentence, “We’re pleased that you enjoyed John’s cooking,” pleased is…

a. 

a preposition.

b. 

a verb.

c. 

an adjective.

d. 

an adverb.

What is grammatically incorrect with the following sentence?

Krista and Casey might have went to the fair this week.

a. 

The modal “might” cannot be used with the perfect tense indicated by “have”.

b. 

The verb “went” is past tense but “this week” refers to the present or future.

c. 

The word “might” is unnecessary and should be removed.

d. 

“Went” is the improper verb conjugation for this tense.

Which part of the sentence below is grammatically incorrect?

When they saw that there dog had been eaten by the mad cow, they were more than a little upset.

a. 

… were more than a little upset.

b. 

… the mad cow, they …

c. 

When they saw that there …

d. 

… dog had been eaten by …

In the sentence, “How did you get to the party?” how is…

a. 

an interrogative pronoun.

b. 

an adjective.

c. 

a conjunction.

d. 

an interrogative adverb.

What is grammatically incorrect with the following sentence?

What time are you two going to go out?

a. 

It ends with a preposition.

b. 

The infinitive “to go” should be split by an adverb.

c. 

The phrasal verb “go out” is casual English and as such, it should only be used in speech, never in writing.

d. 

There is nothing grammatically wrong with this sentence.

What is grammatically incorrect with the following sentence?

This question is very difficult to workout.

a. 

The suffix “out” is prepositional, and you cannot end a sentence with a preposition.

b. 

There is an incorrect choice of word: “hard” should be used instead of “difficult”.

c. 

The phrasal verb “work out” should be two words, not one.

d. 

There is nothing grammatically incorrect with this sentence.

In the sentence, “Teresa drives her car fast,” fast is…

a. 

a verb.

b. 

an adjective.

c. 

a preposition.

d. 

an adverb.

After biting a neighbour, Mr. Silver allowed his dog to been immediately put down.

The sentence above has the following error(s):

a. 

There is no subject in the main clause, “After biting a neighbour”

b. 

A dangling participle and a verb tense error

c. 

A change of point of view and a dangling participle

d. 

All of the above

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Service Sector Rather Than Machines Usually Represent S The Capa

In the service sector, ________ rather than machines usually represent(s) the capacity constraint, which underscores the importance of budgeting even in nonmanufacturing organizations.people, knowledge, familiarity with processes, or potential for sales

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

In The Session Long Projects For This Class You Will Be Asked To Conduct Experim

In the session long projects for this class, you will be asked to conduct experiments in a “virtual” laboratory. AssignmentWe will use the falling-ball simulation (Background: University of Oregon, n.d.) to calculate the acceleration of gravity on the Earth, Moon, and Mars. The most general equation for displacement is s = s0 + V0t + (1/2)at2wheres = displacement after time t s0 = initial displacement (location at t = 0) V0 = initial velocity (velocity at t = 0) t = elapsed time in seconds a = acceleration in m/s2 If the object starts at point s0 = 0 with initial velocity V0 = 0, then the equation becomes s = (1/2)at2Solving for a in terms of s and t, we geta = 2s/t2For a freely falling object in a vacuum, a is the acceleration of gravity, g. If we record the time required for an object to fall a distance s in a time t, we can solve for g. Using the simulation, record the time required for the ball to fall 1, 2, 3, 4, 5, and 6 meters. Organize your results in a table, as follows (the first row has been completed for you). Round numbers to the nearest two decimals.s (distance, m) t (time, s) 2s t2 (2s/t2)= g1 0.44 2 0.19 10.3323456 Answer the following questions.Why are all the number in the last column approximately the same? Which of the six trials would probably yield the most accurate estimate for g? Why? Compare your answer with the accepted value for g. How would you account for the discrepancy, if any? Repeat the simulation for the Moon and Mars. Record your data in tables, as above. Compare your results with the accepted values for Lunar and Martian gravity (Google “Gravity on other planets.”)SLP Assignment Expectations:Points Allocation for GradingItem Max Points Component1 40 Ran the simulation and obtained correct results for the Earth, Moon, and Mars (parts 1, 3, and 4) 2 60 Correct, detailed answers to the questions in part 2.In general, SLPs are expected to possess the attributes of precision, clarity, breadth, depth, and applicability. Not all of these are relevant to the answer to every problem in the SLP. When it is relevant, the evidence for each attribute is as follows.Precision: Numerical answers are calculated correctly, to the correct number of significant figures. When a simulation is used, the results are accurate. Clarity: The problem is restated in its simplest form. Relevant variables are identified. Formulas are algebraically rearranged, as necessary. All the mathematical steps are shown, in logical order. Breadth: Where discussion is required, the question is placed in context. Alternatives are considered. Depth: Where discussion is required, the question is examined in detail. No relevant aspect of the question is omitted. Applicability: When required, the practical importance of the principle or phenomenon is accurately described.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW