Hey guys! I'm a bit new to java and I need your help. I do not need the WHOLE code for this program, I just want to learn how to do this. I just need to learn what should I use (loops, nested loops, etc..)and how should I do it. I do not expect someone to do the whole code for me. I just want someone to teach me.
I have to create a planner application in Java that finds a common free time of 2 to 4 people and determine a schedule when they can meet and discuss.
Features:
1. User can enter their weekly schedules into the program. The input must take the schedule that represents their busy times. The program should ask for the ff. inputs:
a. Name of user
b. Earliest time possible to arrive at school (ETP)
c. Latest time possible to leave school (LTP)

Example:

Username: Bob
ETP: 8:00am LTP: 8:00pm
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday

Username: Steve
ETP: 9:00am LTP: 9:00pm
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday


The program creates a detailed schedule of their common free time. It should:
a. Summarize the time periods available
b. Round up to either --:30 or --:00 periods
c. Calculate the duration (in hours and minutes)

Day Time Duration

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday

Edited 5 Years Ago by spades0001: Made some adjustments

What are you questions?
Will this app use GUI or commandline input?
Will people's schedules be read in from a file or how?
What design ideas do you have so far?

Edited 5 Years Ago by NormR1: n/a

What are you questions?
- How should I do this, and with what codes.
Will this app use GUI or commandline input?
- GUI. This past few days I've been trying out GUIGenie. Got any other programs better than that?
Will people's schedules be read in from a file or how?
-The people will input their schedules.
What design ideas do you have so far?
-Well, with GUIGenie, I've worked on basic stuff of the program (jPanel, jTextbox, etc..) My only problem is that I'm not quite sure what codes and syntax I should use.

Edited 5 Years Ago by spades0001: n/a

How should I do this, and with what codes.

You have not said anything useful about your design.
What data do you need to get from the user?
What GUI design do you need to get that input?

The user inputs his/her name, ETP/LTP, and schedules for each day.
And what do you mean by GUI design?

GUI design

What displays, buttons, menus, input fields, etc are to go where on the GUI.
Basically what does the user see when he starts the application and as he uses it.

Write down what it is you need to do to accomplish your task.
Break down each step.
Break down each step.
Break down each step.
Break down each step.
Break down each step.
Eventually, you'll get to a point where you can translate YOUR notes into code.
Start with what NormR1 said, and go from there.

If you have code, please post it here with your questions. Or the error messages.

Please wrap the source code in code tags to preserve its formatting. Use the CODE icon above the input box.

Edited 3 Years Ago by happygeek: fixed formatting

Well, sir, that's my problem. I don't know how to start it off. I mean, it's hard to explain, but what do I use?

Get a beginners Java book (either from a book store or the library) and start reading.
Code and run the examples.
You'll soon learn what we are talking about.

Edited 5 Years Ago by hfx642: n/a

This article has been dead for over six months. Start a new discussion instead.