Hi guys, i dont think im using the boolean and break correctly i need it to see the tutormin>=240 and then throw the error and stop without exiting the program. can someone take a look and help me edit it import java.awt.*; //imports all Java.awt import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; // Imports all swing /* Author James Perkins * Intro to programming * Task 1 * */ class Tuthelp extends JFrame { private JPanel panel; private JLabel TutorTimeLabel; // Time label private JTextField timeField; // Field for time info private JLabel TutorWageLabel; //Label for Tutor wages private JTextField wageField; …

Member Avatar
Member Avatar
+0 forum 14

Hi guys, so my task is as follows. A. Develop an application that reads your listings.txt file, analyzes the property listed per agent, and outputs a report to an agentreport.txt file. Your application should do the following: 1. Prompt the user for the name of the input file (listings.txt). 2. Open listings.txt file and read in property listings. 3. Store each property type into a Set. a. Convert property type to upper case before adding to your Set using method(s) from String class. b. Sort your Set of property types alphabetically. 4. Use a Map to calculate total property listed …

Member Avatar
Member Avatar
+0 forum 4

hi Guys, I am currently coding for a GUI based program that delivers the amount of time a tutor works in minutes and the amount they go paid total, giving them details on the amount of time work total, and wage per hour and if it is below, minimum, or above minimum wage. I currently have to problems and not sure how to work them out. 1. Program does not let me enter more then one set of hours work and wages paid, and also does not show this within the GUI when I press the Enter button. ( using …

Member Avatar
Member Avatar
+0 forum 26

Hi guys, i am writing a GUI program that will take a tutor minutes and earings and create an average earnings. My problem is instead of it using what we type in the fields E.g 200 mins and 50 dollars earnt and displaying the average. It shows the default fields. Please see attached code import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class Tutorhelp extends JFrame { private JPanel panel; private JLabel TutorTimeLabel; private JTextField timeField; private JLabel TutorWageLabel; private JTextField wageField; private JTextArea textArea; private JButton enterButton; private JButton runReportsButton; private JButton quitButton; final int WINDOW_WIDTH = 500; …

Member Avatar
Member Avatar
+0 forum 5

The End.