confused about gui interfaces

Discussion in 'Java' started by spiketkr0, Apr 25, 2010.

  1. spiketkr0

    spiketkr0 New Member

    Joined:
    Apr 5, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    so I have to create a applet with these parameters
    Write a Java applet using swing components to calculate and reserve a room at My Favorite Hotel. The applet should contain the following
    • Display today’s (not today but the day the Java program is called)
    • Day of arrival  textfield (MMDDYYYY) edit for reasonable validity
    • Number of nights  textfield edit for validity (should be 1 through 30)
    • Drop down box for the number of people (1 through 4)
    • Drop box for Regular, Deluxe, or Suite
    • Radio button for 1 king size bed or 2 queen size beds
    • Radio button for Smoking or Non-Smoking or Any available
    • Button to check availability and calculate charge (you don’t have to check availability unless you want to research interfacing to a Access or Excel)
    • Button to reserve – Will come back with a confirmation number and confirmation of inputted information (You don’t have to reserve however unless you want to research)
    • The charges for the rooms are $110 for regular, $120 for deluxe, and $150 for suite. $15 extra per person will be charged for more then 2 people, and there is a 13.5% tax.
    • All editing should respond with the proper error.

    and im not good at all with java so can anyone help?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice