Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: School Time Table

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question School Time Table

    Hello everyone,

    I would like to ask you for your help. Can somebody help me to solve the following task:
    Design a program to display the following School Time Table on screen.

    Capture.PNG

    Your program should use the following named constants to control the format of the calendar
    display:

    /* The number of days in the month */
    private static final int DAYS_IN_MONTH = 31;
    /* The day of the week on which the month starts */
    /* ( Monday = 0, Tuesday = 1, and so on) */
    private static final int DAY_WEEK_STARTS = 0;
    /* The width in pixels of a day on the calendar */
    private static final int DAY_WIDTH = 40;
    /* The height in pixels of a day on the calendar */
    private static final int DAY_HEIGHT = 30;

    Thank you in advance!

    Best Regards


  2. #2
    Member
    Join Date
    Feb 2014
    Location
    India
    Posts
    47
    My Mood
    Bored
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Default Re: School Time Table

    Firstly you gotta try something yourself and then when you get stuck, we all are here to help you.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: School Time Table

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

Similar Threads

  1. Replies: 1
    Last Post: September 9th, 2013, 11:26 AM
  2. Using Date() to get Start Time and Finish Time of a copyFiles method
    By dalythe in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: June 17th, 2013, 09:50 PM
  3. Hello, first time caller long time programmer....
    By P2C2N in forum Member Introductions
    Replies: 3
    Last Post: December 10th, 2012, 11:53 AM
  4. Replies: 4
    Last Post: January 7th, 2012, 01:59 PM
  5. Replies: 1
    Last Post: January 6th, 2012, 07:02 AM

Tags for this Thread