Question: A custom window shade designer charges a base fee of $50 per shade. In addition, charges are added for certain styles, sizes, and colors as

A custom window shade designer charges a base fee of $50 per shade. In addition, charges are added for certain styles, sizes, and colors as follows: 

Styles:

Regular shades: Add $0

Folding shades: Add $10

Roman shades: Add $15

Sizes:

25 inches wide: Add $0

27 inches wide: Add $2

32 inches wide: Add $4

40 inches wide: Add $6

Colors:

Natural: Add $5

Blue: Add $0

Teal: Add $0

Red: Add $0

Green: Add $0

Create an application that allows the user to select the style, size, color, and number of shades from lists or combo boxes. The total charges should be displayed. 

Step by Step Solution

3.58 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import javaawt import javaawtevent import javaxswing public class ShadeDesigner extends JFrame private JTextField totalShadesJTextField private JComboBox styleJComboBox ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Starting Out With Java From Control Structures Questions!