We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,642 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Create a timetable in Java

Hi,

I'm doing a simple study planner in java. Obviously I need to do a timetable generator.
The program works like this:

  1. The user enters the start time of school and the length of each breaks (Done)
  2. The user enters the lessons(Done)
  3. When the user presses next I need to generate a timetable using the information provided.(I need to do this)

Please help as I'm still a beginner. I really appreciate it.

Thanks in advance

3
Contributors
7
Replies
3 Hours
Discussion Span
8 Months Ago
Last Updated
10
Views
Matth963
Light Poster
25 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Will this be a console application or will it use GUI with a frame, input fields and buttons?

What have you done so far? Do you have any specific questions?

NormR1
Posting Sage
Team Colleague
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16

It will be a GUI with a frame, input fields and buttons. So far I've done everything except the timtable. Thanks for the instant reply! :)

Matth963
Light Poster
25 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

How are you going to format and display the timetable?

NormR1
Posting Sage
Team Colleague
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
Matth963
Light Poster
25 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

What code do you have so far? What problems are you having with it?

NormR1
Posting Sage
Team Colleague
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16

I don't have an idea of how I can create a timetable like that :( I've searched but couldn't find the thing I'm searching for

Matth963
Light Poster
25 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

You could create a JPanel with a GridLayout of JLabels. Then you could fine-tune the appearance later.

JamesCherrill
... trying to help
Moderator
8,497 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,454
Skill Endorsements: 29

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.1018 seconds using 2.72MB