Java

Need Help in Java Assignment?
We can help you if you are having difficulty with your Java Assignment. Just email your Java Assignment at admin@assignmentcache.com.
We provide help for students all over the world in Java Assignment.

Items 1 to 10 of 82 total

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

Grid  List 

Set Ascending Direction
  1. CIS355A Week 4 Stocks4U Portfolio Management System Add stock

    CIS355A Week 4 Lab - Processing Arrays of Objects Stocks4U

    Regular Price: $12.00

    Special Price: $10.00

    CIS355A Week 4 Lab - Processing Arrays of Objects Stocks4U


    OBJECTIVES
    • Create a GUI that uses JList and JTabbedPanes.
    • Process multiple objects in an ArrayList.
    • Code event handlers for multiple events.


    PROBLEM: Stocks4U Portfolio Management System
    Stocks4U needs to develop an app for you to manage your stock purchases. You should be able to store a list of stock purchases, view the individual stocks, add and remove stocks.


    FUNCTIONAL REQUIREMENTS
    You can code the GUI by hand or use NetBeans GUI builder interface.


    The GUI should have two tabs using JTabbedPane.
    • One tab ("Show stocks") should have
     o a JList to display all the stock purchases;
     o a text field or label to display information about a particular stock; and
     o a JButton to remove a stock.
    • One tab ("Add stock") should have textboxes, labels, and a button to input a stock.


    Create a Stock class to manage the stock activity. It should have private instance variables of
    • company name;
    • number of shares;
    • purchase price; and
    • current price.
    Create a default and parameterized constructor.
    Create sets/gets for all instance variables.
    Create a get method to calculate and return the profit or loss. This would be calculated as
     Number of shares * (current price – purchase price).
    Create toString to display the name of the stock.


    As you add stocks, they are displayed in the JList.
    If you select an element in the JList, the gain or loss is displayed in the label or text field.
    If you select an element in the JList and click Remove, the stock is removed from the list.


    GRADING RUBRIC
    Stock class
    • Has all required functionality 15
    GUI class
    • Use the Stock class to process data.
    • As you add stocks, they are displayed in the JList.
    • If you select an element in the JList, the gain or loss is displayed in the label or text field.
    • If you select an element in the JList and click Remove, the stock is removed from the list.
    • Use error messages for any invalid/missing user input using JOptionPane. 25
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    • Include meaningful comments throughout your code.
    • Use meaningful names for variables.
    • Code must be properly indented.
    • Include a comment header at beginning of each file, example below.
    /****************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    • All java files
    • Lab report


    Follow assignment specification regarding class/method names.
    Note that your java filename must match class name (DO NOT rename).

    Learn More
  2. CIS355A Week 3 Lab BurgersRUs - Enhanced GUI Application using Additional Swing Components

    CIS355A Week 3 Lab - Enhanced GUI Application using Additional Swing Components

    Regular Price: $12.00

    Special Price: $10.00

    CIS355A Week 3 Lab - Enhanced GUI Application using Additional Swing Components


    OBJECTIVES
    • Create a GUI that uses JCheckBox, JRadioButton, JTextArea, and menus.
    • Process multiple events.


    PROBLEM: BurgersRUs Point of Sale system
    Burger Barn needs a point of sale application. The products and prices are as follows.
    Burgers: single $3.50, double $4.75
    Add cheese: +$.50
    Add bacon: +$1.25
    Make it a meal: +$4.00


    FUNCTIONAL REQUIREMENTS
    You can code the GUI by hand or use NetBeans GUI builder interface.
    The GUI should use JRadioButton to choose single or double burger.
    • Single burger
    • Double burger
    It should use JCheckBox for add ons.
    • Add cheese
    • Add bacon
    • Make it a meal
    JTextField for item price, order quantity, order total
    JTextArea to display the receipt
    Create a menu with the following options.
    File  Order
    Exit  Add to Order
      Clear for next item
      New Order


    As the user selects items, the item price should be calculated and updated accordingly.
    Note that quantity should default to 1. The user can change if needed.
    Once choices are made and quantity is entered, process the order using the menu options.
    Order—Add  to Order Displays the choice and price in each text area.
       Note that multiple items can accumulate in a single order Updates the order total
    Order—Clear for next item Clears the checkboxes. Note that quantity should default to 1
    Order—New  Order Clears the GUI and totals for a new order
    File—Exit  Exits the program. Use System.exit(0) commad.


    GRADING RUBRIC
    Functional Requirements
    All components on GUI created correctly
    Item price updated properly with radio and checkbox selections
    Items added to text area
    Total price accumulates correctly
    Clear for next item works correctly
    Clear for new order works correctly
    All prices displayed with two decimal places
    File exit works correctly
    Error messages for any invalid/missing user input using JOptionPane 40
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    Include meaningful comments throughout your code.
    Use meaningful names for variables.
    Code must be properly indented.
    Include a comment header at beginning of each file, example below.
    /****************************************************
    Program Name: ProgramName.java
    Programmer’s Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    All java files
    Lab report


    Follow assignment specification regarding class/method names.
    Note that your java filename must match class name (DO NOT rename).

    Learn More
  3. CIS355A Week 2 Lab - Developing a GUI Application

    CIS355A Week 2 Lab - Developing a GUI Application

    Regular Price: $12.00

    Special Price: $10.00

    CIS355A Week 2 Lab - Developing a GUI Application


    OBJECTIVES
    • Create a GUI that uses JTextField, JLabel, and JButton.
    • Write event handlers to process user data.


    PROBLEM: Health Profile App
    GymsRUs would like to replace their console program with an updated app using a graphical user interface. You will use the HealthProfile class that you created in the Week 1 Lab and build a GUI for it.


    FUNCTIONAL REQUIREMENTS
    Make sure your HealthProfile class from the Week 1 Lab is in a named package, not default (i.e., package lab1).


    You must ADD the project that contains the HealthProfile class to this week’s project by
    right click project, go to properties; and
    click Libraries, Add Project, click OK.


    Then you will be able to reference your existing class as
    import lab1.HealthProfile.


    Your project will have three classes:
    • HealthProfile class from Week 1 Lab
    • HealthProfileGUI class
    • Lab2Main class


    Your HealthProfildGUI class should have the following components (see sample GUI below).
    • JTextField objects to enter:  name, age, height in feet, height in inches, weight in pounds 
    • JButton objects to display results, clear the GUI
    • JTextField objects to display the BMI, category, and max heart rate
    • JLabels to describe all textboxes
    You are free to layout and design your GUI as you like as long as it includes these components.


    Add default and parameterized constructors to your HealthProfile class. The parameterized constructor should have five arguments: the name, age, weight, height in feet, and height in inches. Note it should convert the height to inches to store in the private instance variable.
    Code event handlers for each button:
    • Display: Make sure all user input is present and valid Use the HealthProfile class to process the data Display the results on the GUI
    • Clear Clear all text boxes on the GUI


    GRADING RUBRIC
    HealthProfile class
    • Add default and parameterized constructors 10
    HealthProfileGUI class
    • All components on GUI
    • Display button event handler coded properly
    • Clear button event handler coded properly
    • Error messages for any invalid/missing user input using JOptionPane 25
    Lab2Main class
    • Displays the GUI properly 5
    Code style 5
    Lab Report 10
    TOTAL 55


    CODE STYLE REQUIREMENTS
    • Include meaningful comments throughout your code
    • Use meaningful names for variables
    • Code must be properly indented
    • Include a comment header at beginning of each file, example below
    /****************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************/


    DELIVERABLES
    Submit as a SINGLE zip folder
    • All java files
    • Lab report


    Follow assignment specification regarding class/method names.
    Note that your java file name must match class name (DO NOT rename).

    Learn More
  4. PRG 421 Week 2 GUI Components Program

    PRG 421 Week 2 GUI Components Program

    Regular Price: $20.00

    Special Price: $15.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
  5. PRG 421 Week 3 Contact Information Program

    PRG 421 Week 3 Contact Information Program

    Regular Price: $15.00

    Special Price: $12.00

    PRG 421 Week 3 Contact Information Program

    This is a two-part assignment.
    Part 1
    Design, implement, test, and debug a program with a JFrame that allows the user to enter a series of contacts’ names, ages, e-mail addresses, and cell phone numbers, and creates a file from the entered data. Validate the age entry to ensure that it is numeric and between 0 and 120. Include information for three to five contacts.

    Part 2
    Design, implement, test, and debug a program that reads the file you created by the list in Part 1 and displays the records in a JFrame. You may either display all entries in the list at once or display them one at a time; the user interface is up to you. Protect against not being able to open the file.

    Submit the .java source files.

    Learn More
  6. PRG 421 Week 4 Pie Chart Applet

    PRG 421 Week 4 Pie Chart Applet

    Regular Price: $15.00

    Special Price: $12.00

    PRG 421 Week 4 Pie Chart Applet

    Write an applet that includes a pie chart.
    Use a news article with statistics that are good candidates for a pie chart: for example, political candidate preferences; percentages of those for, against, or undecided about a ballot measure; and so forth.
    Cite the source for your input statistics.
    Submit the applet along with an HTML file to launch it.

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

    PRG 421 Week 3 Learning Team Fundraiser Initial program

    Regular Price: $12.00

    Special Price: $10.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
  8. PRG 421 Fundraiser program with Data file

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

    Regular Price: $12.00

    Special Price: $10.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
  9. PRG 421 Week 3 Learning Team Fundraiser with java DB

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

    Regular Price: $15.00

    Special Price: $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 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
  10. PRG 420 Week 2 Simple Commission Calculation Program Part 1

    PRG 420 Week 2 Simple Commission Calculation Program Part 1

    Regular Price: $15.00

    Special Price: $12.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

Items 1 to 10 of 82 total

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

Grid  List 

Set Ascending Direction