Re: Gui Question



I do have some questions

1. Do I need to use the following code to declare instances of the
objects?

SalariedEmployee salariedEmployee = new SalariedEmployee

HourlyEmployee hourlyEmployee = new HourlyEmployee

CommissionEmployee commissionEmployee = new CommissionEmployee

BasePlusCommissionEmployee basePlusCommissionEmployee = new
BasePlusCommissionEmployee

2. the combobox on the interface currently doesn't have any action
attached to it. Can i use it to specify the type of employee to create.

Ian

.



Relevant Pages

  • Re: Gui Question
    ... SalariedEmployee salariedEmployee = new SalariedEmployee ... HourlyEmployee hourlyEmployee = new HourlyEmployee ... CommissionEmployee commissionEmployee = new CommissionEmployee ... BasePlusCommissionEmployee basePlusCommissionEmployee = new ...
    (comp.lang.java.help)
  • Re: Gui Question
    ... SalariedEmployee salariedEmployee = new SalariedEmployee ... HourlyEmployee hourlyEmployee = new HourlyEmployee ... CommissionEmployee commissionEmployee = new CommissionEmployee ... My guess is that you will have another assignment to follow, ...
    (comp.lang.java.help)
  • Re: Gui Question
    ... SalariedEmployee salariedEmployee = new SalariedEmployee ... HourlyEmployee hourlyEmployee = new HourlyEmployee ... CommissionEmployee commissionEmployee = new CommissionEmployee ... Can i use it to specify the type of employee to create. ...
    (comp.lang.java.help)