Results 1 to 8 of 8
Thread: Having trouble with Java Project
- 06-04-2008, 06:34 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 4
- Rep Power
- 0
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!!
- 06-04-2008, 09:58 PM #2
Member
- Join Date
- Jun 2008
- Posts
- 5
- Rep Power
- 0
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.
- 06-05-2008, 02:28 AM #3
Member
- Join Date
- Jun 2008
- Posts
- 4
- Rep Power
- 0
..
man that wasnt helpful at all. java is my only option i cant use VB cause the license is too expensive.
-
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.
- 06-05-2008, 03:42 AM #5
Member
- Join Date
- Jun 2008
- Posts
- 4
- Rep Power
- 0
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.
- 06-05-2008, 03:46 AM #6
Member
- Join Date
- Jun 2008
- Posts
- 4
- Rep Power
- 0
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.i know it looks bad but its not for school
- 06-05-2008, 06:38 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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
-
Java Project Trouble: Searching one ArrayList with another ArrayList
By BC2210 in forum New To JavaReplies: 2Last Post: 04-21-2008, 11:43 AM -
UML to Java project
By banie in forum NetBeansReplies: 3Last Post: 01-28-2008, 10:16 AM -
Help with Java project
By ducster in forum New To JavaReplies: 11Last Post: 12-03-2007, 03:08 AM -
Help Java project.
By mandrake446 in forum New To JavaReplies: 1Last Post: 11-26-2007, 11:52 PM -
Java Project Help
By Gambit17 in forum New To JavaReplies: 3Last Post: 11-05-2007, 11:53 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks