Results 1 to 11 of 11
Like Tree1Likes
  • 1 Post By KevinWorkman

Thread: Java HELLPP!!

  1. #1
    jag157 is offline Member
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Java HELLPP!!

    So basically i have got to do this in Java jccreator, and i havent got a clue to start can someone help me please it would be much appreciated Please please pleaase


    create part of a scheduling system for internal television programmes in a hotel. The system
    enables a member of the hotel staff to set up a week’s viewing schedule and view the result.
    The hotel schedule is much simpler than a broadcast television schedule because:
     There are only two channels (Channel 1 and Channel 2)
     The channels are only on air from 6 am until midnight
     The duration of every programme item is in multiples of ˝ hours
     There is only a 1 week schedule (the schedule is changed every week).

    The Programmes
    The different kinds of programmes that the hotel shows are:
    1. Hotel Information
    2. Comedy2
    3. Drama
    4. Film
    5. Music Video

    All programmes have a title, a duration (in ˝ hours), and a start time. The start time is set
    when a programme is added to a schedule.

    The hotel information programmes have two distinct types:
    i. Still pictures e.g., Evening menu
    ii. Videos – e.g., video of beach activities, local tourist attractions, fire safety

    Films, Comedy and Drama have the normal information that one would expect including
    director, actors and a short synopsis (description of what it is about). Films also have a
    rating (All, PG, 15, 18).

    Most programmes are available to anyone but some must be rented by a guest wishing to
    view them. These rentable programmes are usually films (but not always) and provision
    should be made for allowing any future programme to be rentable. Rentable programmes
    are special and allow a potential viewer (someone who might want to rent them) to watch a
    trailer. The trailer is typically just the beginning of the programme, i.e., the first few
    minutes. Any rentable item should allow the scheduler to set the duration of the trailer.
    Rentable programmes should display in some way that they are rentable.

    Music Video Programmes are not single videos but videos that have been edited into a onehour compilation
    The Schedule

    Each day has a schedule. The schedule has a maximum duration of 18 hours (made up of
    half hour slots) and contains programmes that are sorted by start time. Programmes can be
    removed or added to a schedule. This would be done by a User who is setting up a
    schedule. If the schedule is full, programmes would need to be deleted to make space for
    new programmes in the schedule. Programmes can be added to the end of a schedule or
    inserted between two items already in the schedule. In either case, the end of the schedule
    must not be after midnight.

    So, if a schedule has an hour space in the middle but is otherwise full and a User tries to add
    a 2 hour film, one of three things should happen:
    1. the User should be prevented from adding this until a suitable space exists
    2. The schedule should allow the insertion but delete programmes that are
    overlapped
    3. The schedule should allow the insertion but remove any programme(s) at the
    end of the schedule

    You are required to decide, as the software designer, which of the actions described above
    is going to be performed by your system.

    Your schedule must allow programmes to be added at a specific start time (which is when
    the start time of the programme would be set) and added to the end of the schedule.

    The Graphical User Interface (GUI)

    The software system must be a desktop application (i.e., not an applet) which has a
    graphical user interface (GUI) which must be implemented using Java Swing components.

    The GUI should enable a User to:
     Display the schedule for a day (both channels)
     Display all available programmes (sorted alphabetically), i.e., this will include
    programmes that are scheduled and programmes that are not in the schedule.
     Display all programmes of single type (e.g., Comedies)
     Display all films that must be rented
     Add a programme to the schedule
     Set the trailer duration on a rentable programme
     Remove a programme from the schedule
     Select a programme item and display all the details relevant to a particular type of
    programme

    Note: the GUI must not have any functionality for programme creation – programmes
    already exist in a database of available programmes.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

    Default Re: Java HELLPP!!

    Break the problem down.
    What's the basic model here?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    jag157 is offline Member
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Re: Java HELLPP!!

    basically a GUI with tv programmes and channels and genres

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,939
    Rep Power
    8

    Default Re: Java HELLPP!!

    This gem is crossposted: Java HELLPP!!
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    jag157 is offline Member
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Re: Java HELLPP!!

    so what if i posted in another forum too get over it ? i just need help with it

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    Default Re: Java HELLPP!!

    Homework doesn't belong in Advanced Java. Moving this thread.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #7
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    Default Re: Java HELLPP!!

    Yet another cross post:
    Java HELLPP!! - The Student Room

    From that thread:
    yeah it is. just how to start the programming off im so stuck i dont know how to start it off
    So, You Need to Write a Program but Don't Know How to Start
    The Java™ Tutorials

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  8. #8
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,939
    Rep Power
    8

    Default Re: Java HELLPP!!

    Quote Originally Posted by jag157 View Post
    so what if i posted in another forum too get over it ? i just need help with it
    People are trying to help you, for free, in their spare time. It's pretty rude to ask them to waste their time answering a question that has already been answered. So it's common courtesy to at least let people know where else you're getting answers, so they can see what has already been discussed before they spend time repeating something you've already seen.

    But I don't expect you care, since all you've done is rudely post your homework assignment without actually trying anything yourself or responding to the help you are receiving, so I wish you much luck.
    jlczuk likes this.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  9. #9
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Java HELLPP!!

    Quote Originally Posted by jag157 View Post
    so what if i posted in another forum too get over it ? i just need help with it
    Nice attitude and nice demonstration of effort. You'll go far.

  10. #10
    jlczuk is offline Senior Member
    Join Date
    Apr 2012
    Location
    New York State of Confusion, USA
    Posts
    137
    Blog Entries
    1
    Rep Power
    0

    Default Re: Java HELLPP!!

    Move the thread to the trash heap IMHO. I have no patience for impertinence.

  11. #11
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

    Default Re: Java HELLPP!!

    Quote Originally Posted by jag157 View Post
    basically a GUI with tv programmes and channels and genres
    No, I meant your model.
    What classes do you think you need to represent the data.
    Forget about the GUI.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •