Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-04-2008, 08:34 PM
Member
 
Join Date: Jun 2008
Posts: 4
raakesh is on a distinguished road
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
File Type: zip MantarioMarina.zip (12.5 KB, 2 views)
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-04-2008, 11:58 PM
Member
 
Join Date: Jun 2008
Posts: 5
pjm35@st-and.ac.uk is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-05-2008, 04:28 AM
Member
 
Join Date: Jun 2008
Posts: 4
raakesh is on a distinguished road
..
man that wasnt helpful at all. java is my only option i cant use VB cause the license is too expensive.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-05-2008, 05:14 AM
Fubarable's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 1,290
Fubarable is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-05-2008, 05:42 AM
Member
 
Join Date: Jun 2008
Posts: 4
raakesh is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-05-2008, 05:46 AM
Member
 
Join Date: Jun 2008
Posts: 4
raakesh is on a distinguished road
i know it looks bad but its not for school
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 06-05-2008, 05:58 AM
Fubarable's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 1,290
Fubarable is on a distinguished road
Quote:
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.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 06-05-2008, 08:38 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 5,088
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Someone helped you?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.
Help:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Resources:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Web:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Tips:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Project Trouble: Searching one ArrayList with another ArrayList BC2210 New To Java 2 04-21-2008 01:43 PM
UML to Java project banie NetBeans 3 01-28-2008 12:16 PM
Help with Java project ducster New To Java 11 12-03-2007 05:08 AM
Help Java project. mandrake446 New To Java 1 11-27-2007 01:52 AM
Java Project Help Gambit17 New To Java 3 11-05-2007 01:53 PM


All times are GMT +3. The time now is 05:20 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org