Welcome to AssignmentCache!

Search results for 'GU'

Items 1 to 10 of 62 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Descending Direction
  1. PRG 421 Week 1 Hello World Program

    PRG 421 Week 1 Hello World Program

    $8.00

    PRG 421 Week 1 Hello World Program

    Design, implement, test, and debug a GUI-based version of a “Hello, World!” program.
    Create a JFrame that includes a JLabel that reads “Hello, World!” Use a layout manager of your choice.
    Include an Exit button to close the program.
    Submit the .java source file.

    Learn More
  2. PRG 421 Week 2 GUI Components Program

    PRG 421 Week 2 GUI Components Program

    $20.00

    PRG 421 Week 2 GUI Components Program

    For this assignment, you will choose from the following options:
    Option 1: Retail Calculator
    A retailer would like a calculator to indicate sale prices when he marks items down at various percentages.
    Design, implement, test, and debug a GUI application that allows the retailer to enter the item’s name, the item’s original price, and the percentage discounted.
    • The application should include a Calculate button that, when pressed, computes and displays the sale price in a label or text field.
    • The program should allow the retailer to enter any number of items in this manner.
    • Include an Exit button to end the execution of the application.
    • The program should allow the user to select a department from a menu. You may create the menu as a true menu, a JComboBox, or radio buttons.
    • Create your own list to populate the menu: men’s clothing, women’s clothing, house wares, and so forth.
    • Include at least five departments.
    • Create a JTextArea or a JTable to display each of the following for each item entered:
    o Item name
    o Department
    o Original price
    o Sale price

    Option 2: Payroll Application
    An employer is looking for an easier way to track employee pay.
    Design, implement, test, and debug an application to compute an employee’s weekly pay. If the employee works more than 40 hours a week, the employee earns 1.5 times the basic hourly pay for any time worked over 40 hours. The program should allow the user to input the employee’s name, the number of hours worked, and the hourly rate.
    • The application should include a Calculate button that, when pressed, computes and displays the total pay in a label or text field.
    • The program should allow the user to enter information for any number of employees in this manner.
    • Include an Exit button to end the execution of the application.
    • The program should allow the user to select the employee’s department from a menu. This can be a standard menu, radio buttons, or a JComboBox.
    • Create your own list to populate the menu: Marketing, IT, Accounting, and so forth.
    • Include at least five departments.
    • Validate the employee’s hourly wage and hours worked according to the following rules:
        The hourly wage must be at least $6 per hour and cannot be more than $150 per hour. It must be numeric.
        The hours worked must be a numeric value greater than or equal to 0 and cannot be greater than 60.
    • Create a JTextArea, JTable, or other form of a table to your application and use that to list the following for every employee:
    o Name
    o Department
    o Weekly salary
    Add each employee to the list after you have computed that employee’s salary.

    Learn More
  3. PRG 421 Week 3 Learning Team Fundraiser Initial program

    PRG 421 Week 3 Learning Team Fundraiser Initial program

    $12.00

    Learning Team Instructions Fundraiser Program
    A city is sponsoring a run to support local charities and would like an application to track the pledges. The result will be a database that holds data on individuals, total pledges obtained, and the charity for which the donation is designated.
    Design and implement a GUI-based program to accept a participant’s name, the amount pledged, and the designated charity’s name. The program will store these data for later retrieval.

    PRG 421 Week 3 Learning Team Initial program
    Create a GUI-based program to accept name of donor, name of charity, and amount of pledge from the user.
    Display a list of entries in a JTextArea or JTable.
    Submit the .java source file for this program.

    Learn More
  4. PRG 421 Fundraiser program with Data file

    PRG 421 Week 4 Learning Team Fundraiser Program Instructions Add a Data File

    $12.00

    Learning Team Instructions Fundraiser Program
    A city is sponsoring a run to support local charities and would like an application to track the pledges. The result will be a database that holds data on individuals, total pledges obtained, and the charity for which the donation is designated.
    Design and implement a GUI-based program to accept a participant’s name, the amount pledged, and the designated charity’s name. The program will store these data for later retrieval.

    PRG 421 Week 4 Learning Team Instructions Add a Data File
    Modify the program you created in Week Three to write the data—name, amount, and charity—into a sequential data file.
    Implement a capability of reading what is in the existing data file and displaying it in the text area.
    Submit the .java source file for the program.

    Learn More
  5. PRG 421 Week 3 Learning Team Fundraiser with java DB

    PRG 421 Week 5 Learning Team Fundraiser Program Connect to a Database

    $15.00

    Learning Team Instructions Fundraiser Program
    A city is sponsoring a run to support local charities and would like an application to track the pledges. The result will be a database that holds data on individuals, total pledges obtained, and the charity for which the donation is designated.
    Design and implement a GUI-based program to accept a participant’s name, the amount pledged, and the designated charity’s name. The program will store these data for later retrieval.

    PRG 421 Week 5 Learning Team Connect to a Database
    Write a program to create a database from the data in the sequential file you created in Week Four.
    Modify the GUI to connect to this database and add entries to it and read entries from it. Entries read from the database should be displayed in the JTextArea or JTable.
    Test and debug this final program.
    Submit the .java source file or files.

    Learn More
  6. PRG 420 Week 2 Simple Commission Calculation Program Part 1

    PRG 420 Week 2 Simple Commission Calculation Program Part 1

    $15.00

    PRG 420 Week 2 Simple Commission Calculation Program Part 1

    Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Either a GUI graphic user interface) program or non-GUI program is acceptable. Consider the following factors:
    • A salesperson will earn a fixed annual salary of $25,000.00.
    • A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson’s annual sales. The current commission is 10% of total sales.
    • The total annual compensation is the fixed salary plus the commission earned.

    The Java™ application should meet these technical requirements:
    Create a NetBeans project and name it XXXIA2. XXX is your last name. It is important to use your last name so that each student’s project name is unique. When your team evaluation the members’ program, the team will know whom the program belong to.  Your system can also load in multiple projects without conflicting project names. The number 2 in the file name is the academic week number.
    • The application should have at least one class, in addition to the application’s controlling class (a controlling class is where the main function resides).
    • There should be proper documentation in the source code.
    • The application should ask the user to enter annual sales, and it should display the total annual compensation.

    Because NetBeans produces multiple files for one project, the best method to submit an assignment is to zip the files. There should be one project folder created by NetBeans using your project name. Zip the folder. Submit your NetBeans project zip file.

    Learn More
  7. PRG 420 Week 3 Simple Commission Calculation Program Part 2

    PRG 420 Week 3 Simple Commission Calculation Program Part 2

    $15.00

    PRG 420 Week 3 Simple Commission Calculation Program Part 2

    Modify the Week Two Java™ application using Java™ NetBeans™ IDE to meet these additional and changed business requirements. Either a GUI (graphic user interface) program or non-GUI program is acceptable.
    • The company has recently changed its total annual compensation policy to improve sales.
    • A salesperson will continue to earn a fixed salary of $25,000.00. The current sales target for every salesperson is $120,000.
    • The sales incentive will only start when 80% of the sales target is met. The current commission is 10% of total sales.
    • If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.25 which means all sales above the sales target will be earning 25% commission.
    • The application should ask the user to enter annual sales, and it should display the total annual compensation.
    • The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salesperson’s annual sales, until it reaches 50% above the salesperson’s annual sales.

    Sample Table: Assuming a total annual sales of $100,000, the table would look like this:
    Total Sales    Total Compensation
    100,000    <<Program calculated value>>
    105,000    <<Program calculated value>>
    110,000    <<Program calculated value>>
    115,000    <<Program calculated value>>
    120,000    <<Program calculated value>>
    125,000    <<Program calculated value>>
    130,000    <<Program calculated value>>
    135,000    <<Program calculated value>>
    140,000    <<Program calculated value>>
    145,000    <<Program calculated value>>
    150,000    <<Program calculated value>>

    The Java™ application should also meet these technical requirements:
     Create a NetBeans project and name it XXXIA3. XXX is your last name. It is important to use your last name so that each student’s project name is unique. When your team evaluation the members’ program, the team will know whom the program belong to.  Your system can also load in multiple projects without conflicting project names. The number 3 in the file name is the academic week number.
    • The application should have at least one class, in addition to the application’s controlling class.
    • The source code must demonstrate the use of conditional and looping structures.
    • There should be proper documentation in the source code.

    Because NetBeans produces multiple files for one project, the best method to submit an assignment is to zip the files. There should be one project folder created by NetBeans using your project name. Zip the folder. Submit your NetBeans project zip file.

    Learn More
  8. PRG 420 Week 4 Simple Commission Calculation Program Part 3

    PRG 420 Week 4 Simple Commission Calculation Program Part 3

    $15.00

    PRG 420 Week 4 Simple Commission Calculation Program Part 3

    Modify the Week Three Java™ application using Java™ NetBeans™ IDE to meet these additional and changed business requirements. Either a GUI (graphic user interface) program or non-GUI program is acceptable.
    • The application will now compare the total annual compensation of at least two salespersons.
    • It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners.
    • The application should ask for the name of each salesperson being compared.

    The Java™ application should also meet these technical requirements:
    Create a NetBeans project and name it XXXIA4. XXX is your last name. It is important to use your last name so that each student’s project name is unique. When your team evaluation the members’ program, the team will know whom the program belong to.  Your system can also load in multiple projects without conflicting project names. The number 4 in the file name is the academic week number.
    • The application should have at least one class, in addition to the application’s controlling class.
    • The source code must demonstrate the use of Array or ArrayList.
    • There should be proper documentation in the source code.

    Because NetBeans produces multiple files for one project, the best method to submit an assignment is to zip the files. There should be one project folder created by NetBeans using your project name. Zip the folder. Submit your NetBeans project zip file.

    Learn More
  9. CIS355A Week 1 STEP 2 Circle Java Program

    CIS355A iLab 1 ShowEscapeSequences Circle and PracticeArithmeticOperators Programs

    $15.00

    CIS355A iLab 1 ShowEscapeSequences Circle and PracticeArithmeticOperators Programs

    In this lab you will learn how to use the Java Software Development Kit (SDK) with the Eclipse programming tool. In addition, you will create three simple Java programs.

    Deliverables
    Program files for each of the following three programs.
    1. ShowEscapeSequences.java
    2. Circle.java
    3. PracticeArithmeticOperators.java
    At the beginning of ALL your programs, put a comment box that includes the program name, your name, and a brief description of the program.

    iLAB STEPS
    STEP 1: ShowEscapeSequences (10 points)
    Write a Java program named ShowEscapeSequences.java that displays the following.
    I really like
    CIS355A
              "Business Application Programming with Lab using JAVA"

    STEP 2: Circle (15 points)
    Write an application called Circle.java that inputs from the user the radius of a circle as an integer and prints the circle’s diameter, circumference, and area. Use the example program and GUI technique message dialog box shown in the Week 1 Lecture.
    Use the following formulas.
    diameter = 2 * radius
    circumference = 2 * Math.PI * radius
    area = Math.PI * radius * radius
    Use the predefined constant Math.PI for your calculation. This constant is more precise than the value 3.14159. Class Math is defined in the java.lang package so you do not need to import it.

    STEP 3: PracticeArithmeticOperators (15 points)
    Write an application called PracticeArithmeticOperators.java that asks the user to enter two numbers. The program is to convert these numbers from String to type int and then print in a tabular format the sum, the difference, the product, and the quotient of the two numbers entered. Use the example program shown in the Week 1 Lecture. For example, if the user enters 25 and 5, the following should be displayed.
    Operation Result
    25 + 5 30
    25 – 5 20
    25 * 5 125
    25 / 5 5

    Learn More
  10. CIS355A iLab 4 Step 2 InheritanceTest Java Programs

    CIS355A iLab 4 InheritanceTest DayGui and OfficeAreaCalculator Java Programs

    $15.00

    CIS355A iLab 4 InheritanceTest DayGui and OfficeAreaCalculator Java Programs

    In this lab, you will create one project that uses inheritance and two simple Graphical User Interfaces (GUI) programs.

    Deliverables
    Program files for each of the following three programs
    1. InheritanceTest
    2. DayGui
    3. OfficeAreaCalculator

    iLAB STEPS
    STEP 1: InheritanceTest (20 points)
    Write a program called InheritanceTest.java to support an inheritance hierarchy for class Point-Square-Cube. Use Point as the superclass of the hierarchy. Specify the instance variables and methods for each class. The private variable of Point should be the x-y coordinates. The private data of Square should be the sideLength. The private data of Cube should be depth. Each class must provide applicable accessor, mutator, and toString() methods for manipulating private variables of each corresponding class. In addition, the Square class must provide the area() and perimeter() methods. The Cube must provide the area() and volume() methods.
    Write a program that instantiates objects of your classes, ask the user to enter the value for x, y, and sideLength, test all instance methods and outputs of each object’s perimeter, area, and volume when appropriate.

    STEP 2: DayGui (10 points)
    Write a program called DayGui.java that creates a GUI having the following properties
    Object Property Setting
    JFrame Name Caption Layout mainFrame Messages FlowLayout
    JButton Name Caption Mnemonic cmdGood Good G
    JButton Name Caption Mnemonic cmdBad Bad B
    Add individual event handlers to your program so that when a user clicks the Good button, the message "Today is a good day!" appears in a dialog box, and when the Bad button is clicked, the message "I'm having a bad day today!" is displayed. The following tutorial shows you much of the code solution. Feel free to use the tutorial, but make changes so that you are not simply copying the tutorial code for your entire solution. To make this different from the tutorial, change the colors of the buttons and panel. Also, add this application to a tabbed pane along with the program you will complete in the next step, Step 3. The following tutorials will likely be useful as you work to complete this step:
    • JTabbedPane
    • Tutorial to Write Your First GUI

    STEP 3: OfficeAreaCalculator (10 points)
    Write a program called OfficeAreaCalculator.java that displays the following prompts using two label components
    • Enter the length of the office:
    • Enter the width of the office:
    Have your program accept the user input in two text fields. When a button is clicked, your program should calculate the area of the office and display the area in a text field with a label of Area. This display should be cleared whenever the input text fields receive the focus. A second button should be provided to terminate the application (Exit button).
    The following tutorial shows you much of the code solution. Feel free to use the tutorial, but make changes so that you are not simply copying the tutorial code for your entire solution. To make this different from the tutorial, change the colors of the panel. Also, add this application to the same tabbed pane (see the JTabbedPane tutorial) as the application you built in Step 2, the DayGui application.
    • Office Area Calculator Tutorial

    Learn More

Items 1 to 10 of 62 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Descending Direction
[profiler]
Memory usage: real: 14942208, emalloc: 14650912
Code ProfilerTimeCntEmallocRealMem