Results 1 to 8 of 8
  1. #1
    raakesh is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default Having trouble with Java Project

    my family has a marina and i said i can make a program to help my dad keep track of the boats and rentals etc. but the problem im having trouble im relatively new i have only been doing java for 3 weeks and its hard. My dad gave me an outline for the project. this is what i have so far.


    The File menu contains two items in addition to the Exit item from the JCreator template: Open and Save. The main tab will have other tabs added later.

    Step 2: Design and implement the Boat class:
    The Boat class describes a boat owned by the marina. Each boat has a name, a daily rental price and is moored in a slip at the marina. The marina need to keep track of each boat's status: 0 - available, 1 - reserved and 2 - rented. Slips are numbered from 1 to 6 right now, but the owners are thinking of adding more slips as their business grows. In designing this class, consider how the class will be used within the project. Try to think of all possible instance variables and methods your class might need.

    Review Topics:
    Creating classes: Instance variable, Get and Set Methods
    Menus
    Tabbed Panes


    Step 3: Design and implement the Marina class
    The marina class is used to hold all the Boat objects. Since there is no imaginable limit to the number of boats the marina might one day own, the Marina class should use an ArrayList object to hold all the Boat objects. Also implement the Open and Save menu items.

    Review Topics:
    The ArrayList class
    Object Files ... writing, reading, the Serializable interface
    Using the FileDialog class.


    Step 4: Design and implement the Customer and CustomerList classes.
    Each Customer is a Person who wants to rent a Boat. For identification purposes, each Customer is assigned a Customer number. This String value is a 6-digit number generated sequentially. That is, the first customer will be 000001, the second 000002, and so on. The Customer class must keep track of the Customer's Boat choices (past and present).

    The CustomerList class is a dynamic list of Customer objects. Customers come and go, so this class must have functionality that allows for the addition of new customers, deletion of customers and the editing of customer information, including changing their Boat rental options. Create methods within the CustomerList class that will read data from and write data to a data file.

    Add a new tab to the GUI allowing the user to enter a customer's first and last names, add these Customer objects to the CustomerList and save the Customer information on data files.


    so wat do you guys think? is this possible i would prefer if you keep the code as simple as possible cause im new and i wont understand if you get all fancy.

    thanks in advance!!
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2008
    Posts
    5
    Rep Power
    0

    Default

    I remember that when I'd only been programming for three weeks I wouldn't have had a clue where to start with a project like this. This won't be much help to you but I'd recommend not using Java to do this, at least not yet. Try using some database software instead.

  3. #3
    raakesh is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default ..

    man that wasnt helpful at all. java is my only option i cant use VB cause the license is too expensive.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Yeah, right

    Sorry my BS detector's firing big time.

    Is your dad's first name professor? Are you being paid for this in a letter grade?

    Not a bad attempt, but homework is homework son. Do it yourself.

  5. #5
    raakesh is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default

    thats wat my friend said, i tried to get my tutor to help me with it and thats how far as we got he took comp sci in first year university but he doesnt remember much. so thats the outline we came up with.

  6. #6
    raakesh is offline Member
    Join Date
    Jun 2008
    Posts
    4
    Rep Power
    0

    Default

    i know it looks bad but its not for school

  7. #7
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    i know it looks bad but its not for school
    Looks bad, smells bad, tastes bad,... c'mon, what fools do you take us for? If you want homework help, at least be up front and honest about it. This pathetic attempt of yours is insulting to us.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Absolutely what Fubarable say is correct. We don't want to do someones homework. All the time we advice on it. Two reasons behind that.

    1. What we want to see is that everyone who contribute with our community keen on Java.

    2. May be members who can help you more busy with there works and have no time.

    Even though most of friends are here ready to help you. So be honest and be alert. Provide correct information here too. Think about that my friend.

Similar Threads

  1. Replies: 2
    Last Post: 04-21-2008, 11:43 AM
  2. UML to Java project
    By banie in forum NetBeans
    Replies: 3
    Last Post: 01-28-2008, 10:16 AM
  3. Help with Java project
    By ducster in forum New To Java
    Replies: 11
    Last Post: 12-03-2007, 03:08 AM
  4. Help Java project.
    By mandrake446 in forum New To Java
    Replies: 1
    Last Post: 11-26-2007, 11:52 PM
  5. Java Project Help
    By Gambit17 in forum New To Java
    Replies: 3
    Last Post: 11-05-2007, 11:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •